Difference between revisions of "ZCubes/Symbolic Math in ZCubes"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 30: Line 30:
  
  
 
<<[[Learn_ZCubes | Learn ZCubes ]]
 
 
<br/>
 
<br/>
&copy; Copyright 1996-2020, ZCubes, Inc.
+
*[[Z3 | Z3 home]]
 +
*[[Z^3 Language Documentation]]
 +
*[[ZCubes_Videos | ZCubes Videos and Tutorials]]
 +
*[[Main_Page | About ZCubes ]]
 +
<br/>
 +
<br/>
 +
&copy; Copyright 1996-2021, ZCubes, Inc.

Latest revision as of 07:50, 9 March 2021

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))





© Copyright 1996-2021, ZCubes, Inc.