Assignments

An assignment stores the value(s) of an expression into a EXTREMA variable. An assignment has the form: variable = expression where expression is some combination of constants, variables, functions, and operators. For example:

 Y=A*COSD(X/10)+3.5*SIND(X/12)+C*EXP(-X)
 

The type of variable generated by an assignment is determined by the expression. Input is limited to 255 characters, so to have expressions that are longer, use character variables to store its pieces. For example:

 F1 = '2.5*COS(X/10)+3.5*SIN(X/12)+63.7*EXP(X/45)'
 F2 = '1.234567*MOD(X,100)+SIN(X/1000)*EXP(X/200)'
 F3 = '3.56789*X^2-2.34567*X+23.456'
 Y = F1+F2+F3
 

  Expressions
  String assignments