* Write formula using normal infix notation, for example (x^2 + y^2)/1.5. To execute statement use Evaluate command.
* Use variable to write generic formulas, by changing values assigned to the variables you wil be able to repeat calculation for all input data with minimal typing. Define your own functions which also can speedup your work and reduce probability of making an error.
* It is possible to write small functional programs using conditional ?: operator. For example sum of arithmetic progression can be calculated by the following function
sum(x)=x>0?x+sum(x-1):0
* Calculator has only < and > comparison operators (because comparing floating point number for equality is any case bad idea). But it is also to check that value belongs to specified range using min<x>max operator.
* All statement you have entered and stored in database. You can select proper statement using List command. Statements are marked with three different icons: ? (yellow) - statement was not yet evaluated, V (green) - statement was normally compiled and ! (red) - statement was not compiled due to some errors. It is possible to insert reference to the users function using Insert command. To compile and execute statement use Edit and then Evaluate command.
* Help command can be used to list all operators and functions provided by the calculator. You can also insert in edit buffer template of operator or function using Insert command.
* To draw graph of user defined function with one argument, use plot function with three or four parameters: plot(from,till,step,function) or plot(from,till,function). In last case step is choosen automatically according to screen resolution.
COMANDI di BASE
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 graphic plot(from,till,func)
Plot graphic 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