Difference between revisions of "ZCubes/Evaluate Algebraic Functions"
Jump to navigation
Jump to search
(→Video) |
(→Code) |
||
| Line 26: | Line 26: | ||
(1..10)@(x=>EXPAND("(a+b)^"+x)).$(FUNCT); | (1..10)@(x=>EXPAND("(a+b)^"+x)).$(FUNCT); | ||
| − | |||
<br/> | <br/> | ||
| − | © Copyright 1996- | + | *[[Z3 | Z3 home]] |
| + | *[[Z^3 Language Documentation]] | ||
| + | *[[ZCubes_Videos | ZCubes Videos and Tutorials]] | ||
| + | *[[Main_Page | About ZCubes ]] | ||
| + | <br/> | ||
| + | <br/> | ||
| + | © Copyright 1996-2021, ZCubes, Inc. | ||
Latest revision as of 00:20, 11 March 2021
Evaluate Algebraic Functions
In ZCubes you can evaluate Algebraic expressions by calling the ALGEBRA function and passing the expression as a parameter. These can be then converted to functions and executed for set of parameter values.
Video
Code
ALGEBRA("(a+b)^2")
ALGEBRA("(a+b)*(a-b)");
FUNCT(ALGEBRA("(a+b)*(a-b)"))
Function1=FUNCT(ALGEBRA("(a+b)*(a-b)"));
Function1(3,4)
FUNCT("[x^2,x^3,x^4]");
FunctionArray= FUNCT("[x^2,x^3,x^4]");
FunctionArray#;
FunctionArray(3..10)
(1..10)@(x=>EXPAND("(a+b)^x"));
(1..10)@(x=>EXPAND("(a+b)^"+x));
(1..10)@(x=>EXPAND("(a+b)^"+x)).$(FUNCT);
© Copyright 1996-2021, ZCubes, Inc.