nright=number of places to the right of the decimal exptol=trigger for exponential notation nexp=number of places in the exponent
FORMAT(’12345.73’,,,2,2) |
| → | ’1.234573E+04’ |
FORMAT(’12345.73’,,3,,0) |
| → | ’1.235E+4’ |
FORMAT(’1.234573’,,3,,0) |
| → | ’1.235’ |
FORMAT(’12345.73’,,,3,6) | → | → | ’12345.73’ |
FORMAT(’1234567e5’,,3,0) | ’123456700000.000’ |
3.8.19. INTEGRAL
Computes the
Syntax: INTEGRAL(f, xlo, xhi)
3.8.20. LN
Natural logarithm.
Syntax: ln(<expression>)
3.8.21. MAX
Returns the most positive of its arguments.
Syntax: max(<expression>, <expression>,...,<expression>)
3.8.22. MIN
Returns the most negative of its arguments.
Syntax: min(<expression>, <expression>,...,<expression>)
3.8.23. CONFINE
Constrains the given value to be not less than the minimum and not more than the maximum values (if given). Confine works by reflecting the given value off the limits, so that the confined value is a continuous function of all its inputs. The graph of CONFINE(x, upper, lower) vs x is a triangle wave; that of CONFINE(x,,lower), a V shape; and that of CONFINE(x,upper) an
Syntax: confine(x, upper) confine(x, , lower) confine(x, upper, lower)
3.8.24. MINIMIZE
Finds the value of x at which user function f(x) is minimized, within the limits xlo ≤ x ≤ xhi. Currently just a stub.
Syntax: MINIMIZE(f,xlo, xhi)
3.8.25. POW
Computes arg1arg2. No error checking is performed for raising 0 to a negative power or a negative number to a fractional power.
Syntax: Pow(<expression>,<exponent_expression>)
46