Formula editor's allowed syntax: |
|||
Operators |
|||
Abbreviature |
Comment |
Example |
refference |
+ | addition | 1+point | |
* | multiplication | 2*point | |
- | subtraction | 1-point | |
/ | division | 1/point | |
^ | power | 1^point | |
Objects |
|||
Abbreviature |
Comment |
Example |
refference |
String Array | myArray[] | myArray=["h", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d", "!"] | |
Functions |
|||
Abbreviature |
Comment |
Example |
|
sin | sine | sin(point) | |
cos | cosine | cos(point) | |
tan | tangent | tan(point) | |
ceil | ... | ceil(point) | |
abs | ... | abs(point) | |
exp | exponent | exp(point) | |
log | ... | log(point) | |
pow | ... | pow(point,point) | |
sqrt | square root | sqrt(point) | |
pi | 3.1415 | abs(point+pi) | |
phi | 1.6180339 | abs(point+phi) | |
min | minimum | min(1,point) | |
max | maximum | max(1,point) | |
round | round to nearest integer | round(point) | |
frac | fractional part | frac(point) | |
hypot | hypotenuse | hypot(point) | |
log2 | logarythm base 2 | log2(point) | |
acosh | acosh(point)*120 | ||
acot | acot(point)*120 | ||
acoth | acoth(point)*120 | ||
acsc | acsc(point)*120 | ||
acsch | acsch(point)*120 | ||
Neg | negative | Neg(a) | |
approx | approximately equal | approx(point, s3dObj0[point]) | |
arg | Calculates the polar angle (argument) of a pair of rectangular coordinates. |
arg(point, 20)*120 | |
sign | required by arg() | sign(point)*120 | |
asec | Calculates and returns the inverse secant of a number in 2D Cartesian |
asec(point)*120 | |
*asech | Calculates and returns the inverse hyperbolic secant of a number in 2D Cartesian space. |
asech(point)*120 | |
asinh | Calculates and returns the inverse hyperbolic sine of a number in 2D Cartesian space. |
asinh(point)*60 | |
*atanh | Calculates and returns the inverse hyperbolic tangent of a number in 2D Cartesian space. |
atanh(point)*120 | |
baseConvert | Converts a number from one base to another base. |
baseConvert(vNumber, iBaseFrom, iBaseTo) | |
bin2dec | Converts a binary number into its decimal equivalent. |
bin2dec(lBinaryNum) | |
bin2hex | Converts a binary number into its hexadecimal equivalent. |
bin2hex(lBinaryNum) | |
bin2oct | Converts a binary number into its octal equivalent. |
bin2oct(lBinaryNum) | |
cosh | Calculates and returns the hyperbolic cosine of a number in 2D Cartesian space. |
cosh(point) | |
cot | Calculates and returns the cotangent of a number in 2D Cartesian space. |
cot(point)*120 | |
coth | Calculates and returns the hyperbolic cotangent of a number in 2D Cartesian space. |
coth(point)*120 | |
cov | Calculates and returns the coversine of a number in 2D Cartesian space. |
cov(point)*120 | |
csc | Calculates and returns the cosecant of a number in 2D Cartesian space. |
csc(point)*120 | |
csch | Calculates and returns the hyperbolic cosecant of a number in 2D Cartesian space. |
csch(point)*120 | |
dec2bin | Converts a decimal number into its binary equivalent. |
dec2bin(lDecimalNum) | |
Int | integral part | Int(a) | |
Special (related to Math Explorer) |
|||
Abbreviature |
Comment |
Example |
|
point | Number of points | point | |
s3dObj0[point] | 3D object 0 | s3dObj0[point]/2 | |
s3dObj1[point] | A 3D cube | s3dObj1[point]/2 | |
rings[point] | A 3D donut | rings[point]/2 | |
Gadget (not much useful, just fun) |
|||
Abbreviature |
Comment |
Example |
|
Date | system date | Date() | |
MouseX | mouse cursor X position | MouseX() | |
MouseY | mouse cursor Y position | MouseY() |