Variables
To assign a value to a variable use the = symbol or choose the variable to assign to with the x button in advanced mode. A variable name must only contain upper or lower characters.
x=5
value=82
Variables can be used in any equation and are substituted for their assigned value. Variables can be inserted using the x button.
6x+3
xy−3x+7y−21
The following variables are always defined.
ans |
Result of previous calculation |
e |
|
π |
|
rand |
Random value in the range [0,1] (changes on each read) |