Operator | Operation | Example | Result |
+ | addition | 2+3 | 2 + 3 = 5 |
- | subtraction | 2-3 | 2 - 3 = -1 |
* | multiplication | 2*3 | 2 • 3 = 6 |
/ | division | 3/4 | 3 / 4 = 0.75 |
^ | intensification | 2^3 | 23 = 8 |
sqrt() | roots | sqrt(3) | √3 = 1.73205 |
abs() | the absolute value | abs(-3) | | -3 | = 3 |
log() | logarithm | log(100) | log(100) = 2 |
ln() | natural logarithm | ln(5) | ln(5) = 1.60943 |
sin() | sine | sin(pi/2) | sin(π/2) = 1 |
cos() | cosine | cos(pi/2) | cos(π/2) = 0 |
tan() | tangent | tan(pi/4) | tan(π/4) = 1 |
cot() | cotangent | cot(pi/4) | cot(π/4) = 1 |
n! | factorial | 5! | 5! = 120 |
Constant | Value |
pi | 3.141592653589793 |
e | 2.718281828459045 |