ZCubes/Symbolic Math in ZCubes
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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
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))
© Copyright 1996-2021, ZCubes, Inc.