Examples, Example, Test functions – HP 39g Graphing Calculator User Manual
Page 158: List functions -10
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
QUOTE
{where)
Encloses an expression that should not be evaluated
numerically.
QUOTE (expression)
Examples
QUOTE ( S I N ( 4 5 ) ) SM3
f
1 (X) stores the expression
SIN(45) rather than the value of SIN(45).
Another method is to enclose the expression in single
quotes.
For example, X''3+2*
x
HE3
f
1 (X) puts the
expression X^3_2*X into F1(X) in the Function aplet.
Evaluates expression where each given variable is set to the
given value. Defines numeric evaluation of a symbolic
expression.
expression\{variableI =valuel, variah!e2=value2,...)
Example
3 * ( X + 1 ) I ( X = 3 ) returns 1 2 .
Test functions
10-20
The test functions are logical operators that always return
either a
1
(true) or a
0
(false).
Less than. Returns 1 if true, 0 if false.
valuel
Less than or equal to. Returns I if true, 0 if false.
value l
Equals (logical test). Returns 1 if true, 0 if false.
valuel==value2
Not equal to. Returns 1 if true, 0 if false.
valuel^value2
Greater than. Returns 1 if true, 0 if false.
value! >value2
Greater than or equal to. Returns 1 if true, 0 if false.
value l>vatue2
Using mathematical functions