| Operation | Example | Description |
|---|---|---|
| Assignment | x=1 | Assign new value to variable. After evaluation of this expression, it is possible to refer to this variable from other expressions. |
| Function definition | f(x)=x*x | Evaluation of this expression defines function which can be used in other expressions and which graph can be plotted using plot() function |
| Conditional operator | c?x:y | If condition left to '?' sign is true,
then result of conditional expression is value of expression right to '?' sign, otherwise -
result of conditional expression is value of expression after ':' sign.
Example of function definition using conditional operator - calculation of Fibonacci numbers: fib(x)=x<2?1:fib(x-1)+fib(x-2)
|
| Greater | x>y | The result of expression is true if value of left operand is greater than value of right operand |
| Less | x<y | The result of expression is true if value of left operand is less than value of right operand |
| Between | 1<x<5 | The result of expression is true if value of second operand is between values of first and third operands. |
| Sequence | x=1,y=2 | Sequence of expressions. The expressions are calculated in left-to-right order and result is the value of last expression. Using expression sequences you can write the simplest programs. |
| Addition | x+y | Sum of two operands |
| Subtraction | x-y | Difference of two operands |
| Multiplication | x*y | Multiplication of two operands |
| Division | x/y | Dividing value of first operand by value of second operand |
| Power | x^y | Raise value of the first operand to a power determined by value of second operand |
| Integer part | [x] | Integer part of number |
| Fraction part | {x} | fraction part of number |
| Absolute value | |x| | Absolute value |
| Expression in parentheses | (x) | Expression in parentheses |
| Sine | sin(x) | Sine function (radian) |
| Cosine | cos(x) | Cosine function (radian) |
| Tangent | tan(x) | Tangent function (radian) |
| Arcsine | asin(x) | Arcsine function (radian) |
| Arccosine | acos(x) | Arccosine function (radian) |
| Arctangent | atan(x) | Arctangent function (radian) |
| Exponent | exp(x) | Exponent |
| Logarithm | log(x) | Natural logarithm |
| Ceil | ceil(x) | Round to the minimal integer number greater or equal than specified value |
| Floor | floor(x) | Round to the maximal integer number less or equal than specified value |
| Square root | sqr(x) | Square root |
| Plot function graph | plot(from,till,func) | Plot graph of the function. First and second parameters specifies start and end point. Then it is possible to specify optional step value (if step is not specified, than it is chosen automatically based on screen resolution). And last parameter specifies name of plotted functions |
| Plot graph by points | plot{x1, y1, x2, y2,..., xn, yn} | Plot graph given (x,y) coordinates of points. Please notice that braces are used instead of round brackets. |
Calculator remembers all expressions you have entered. You can always list and choose one of them using List item of menu. Those expression which were entered but not yet evaluated re marked with yellow question sign, those expressions which were successfully evaluated - with green tick, and expressions containing errors - with red exclamation sign. If expression assigned value to variable or define function, then it us possible to used this variable or function in other expressions when this expression contains no error and was evaluated. Calculator tries to evaluate all expressions when program is started. But newly entered expressions should be evaluated manually.
Help menu item allows to get list of all supported operations and insert template of this operation.
Calculator contains no command which can compare two values for equality. First of all because it
is not correct to compare floating point number for equality because of possible rounding errors,
and second - to avoid conflict with assignment operator. Instead of it calculator provides operator
which checks if value belongs to the specified range. This operator is written in the same way, as in normal mathematical notation: 0<x<5.