>
token is considered as a function of the variable associated to the
formula. The result of the evaluation of an equation is a zero of
this function or a local minimum of its absolute value (see remarks below). In the case of curves, the
value assigned to the variable is always NAN (Not A
Number). Equations define a search interval and curves a drawing
interval; in both cases the function may be plotted inside the
defined interval and a fifth option to do so (draw curve)
is displayed when touching the formula in the history list. #0=12/7
#1=ln #0
…
*** Results ***
#0=1.7142857142857143
#1=0.5389965007326870
…
***
Results ***
" line is expected; white spaces are not
significant)Symbol | Meaning |
( ) |
single element |
[ ] |
optionally |
{ } |
one or several times |
| |
or |
:= |
is defined by |
bold text |
keyword or operator |
formula |
:= |
expression |
equation | curve |
expression |
:= |
product [{(
+ | - ) product}] |
product |
:= |
power [{( *
| / | % ) power}] |
power |
:= |
term [{ ^
term }] |
term |
:= |
constant | variable
| ( function term ) | ( ( expression )
) |
constant |
:= |
IEEE positive floating
point constant | $pi | $e |
variable |
:= |
#integer |
function |
:= |
- |
sign change |
|
abs |
absolute value |
|
acos |
arc cosine |
|
asin |
arc sine |
|
atan |
arc tangent |
|
cos |
cosine |
|
cosh |
hyperbolic cosine |
|
ln |
natural logarithm |
|
log |
base 10 logarithm |
|
sin |
sine |
|
sinh |
hyperbolic sine |
|
sqrt |
square root |
|
tan |
tangent |
|
tanh |
hyperbolic tangent |
|
deg |
radians to degrees conversion |
|
rad |
degrees to radians conversion |
|
int |
integer conversion towards 0 | |
rnd |
rounding to nearest integer |
equation |
:= |
? expression , expression
[, expression]
; expression [; expression
[; expression
[; expression ]]]
> expression |
curve |
:= |
! expression , expression
> expression |
#0/2*#1
means #0/(2*#1)
and not (#0/2)*#1
1-3+2
means 1-(3+2)
and is equal to -4
rather than to 0
-#0^#3
means (-#0)^#3
and not -(#0^#3)
atan sqrt #3
is a well formed formula meaning atan(sqrt(#3))
1000
) is used.10-4
,
10-6
). If one of these expressions is
negative, the default value is used.4
) is
used.Note on the algorithm: | it first searches for
of a sign change and, in case of failure, tries and finds
a local minimum of the absolute value of the function;
since the search is bounded, this algorithm always
converges. |