Difference between revisions of "ZCubes/Evaluate Algebraic Functions"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "==Evaluate Algebraic Functions== <br/> In ZCubes you can evaluate Algebraic expressions by calling the ALGEBRA function and passing the expression as a parameter. These can b...")
 
Line 8: Line 8:
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
  
 +
==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);
  
 
<<[[Learn_ZCubes | Learn ZCubes ]]
 
<<[[Learn_ZCubes | Learn ZCubes ]]
 
<br/>
 
<br/>
 
&copy; Copyright 1996-2020, ZCubes, Inc.
 
&copy; Copyright 1996-2020, ZCubes, Inc.

Revision as of 04:43, 11 May 2020

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


Evaluate Algebraic Functions














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

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