An equation can contain the following items:
| Input parameters. These are represented by X for a measured parameter and A, B C D E for a calculated parameter. |
| Numbers. These should be in fixed point decimal notation, such as 12.34. Exponential notation, such as 1.234E1, is not supported. |
| Mathematical operators. See below. |
| Mathematical functions. See below |
| Spaces. |
| Operators. The operators follow the normal rules of operator precedence (BODMAS, for "Brackets, Of, Division, Multiplication, Addition, Subtraction"). If you wish to force a particular order of evaluation, use brackets. |
Notation
|
Description
|
Usage
|
( )
|
brackets
|
(x - 5) * 6
|
-
|
unary minus
|
-x
|
-
|
binary minus
|
x - 5
|
+
|
plus
|
x + 5
|
*
|
times
|
x * 5
|
/
|
divide
|
x / 5
|
| Functions |
Name
|
Description
|
Usage
|
Example
|
exp
|
e^x
|
exp (x)
|
exp (3) = 20.085
|
log10
|
log10
|
log10 (x)
|
log10(100) = 2
|
ln
|
loge
|
ln (x)
|
ln(20.085) = 3
|
power
|
power
|
x power 5
|
2 power 3 = 8
|
mod
|
modulo (remainder)
|
x mod 5
|
10 mod 2 = 1
|
sqrt
|
square root
|
sqrt (x)
|
sqrt(2) = 1.414
|
|