ZCubes/Symbolic Math in ZCubes

Revision as of 04:22, 18 May 2020 by Devika (talk | contribs) (→‎Code)

Symbolic Math in ZCubes


ZCubes solves symbolic expressions and equations in a simple and easy manner. The EXPAND function takes the algebraic expression as a parameter. You can use a single line command to convert it to a function and run it for a series of values.

Video


Symbolic Math in ZCubes














Examples

1) EXPAND("(a+b)^2")
--> Displays the result as 2*a*b +a^2 +b^2

2) EXPAND("(a+b)^4")
--> Displays the result as 4*a*b^3 + b^4 + 6*a^2*b^2 + 4*a^3*b

3) 1..24@(x=>EXPAND("(a+b)^"+x))
--> This command displays all the results of expansion of (a+b), (a+b)^2, (a+b)^3.........(a+b)^24

The output can also be viewed in a separate cube or a table by clicking a small tab on the right.

Code

EXPAND("(a+b)^2")

EXPAND("(a+b)^4") 1..24@(x=>EXPAND("(a+b)^"+x))



<< Learn ZCubes
© Copyright 1996-2020, ZCubes, Inc.