|
|
|
|
|
Please input an expression. e.g. sum(100+6!)-44+9*3
|
|
    Basic Math
| Operator |
Function |
Example |
| + |
Addition |
4 + 5 (=9) |
| - |
Subtraction |
9 - 4 (=5) |
| * |
Mutiplication |
4 * 5 (=20) |
| / |
Division |
20 / 4 (=5)
|
| % |
Modulo( to get the remainder after division) |
10 % 3 (=1), 10 % 2 (=0) |
| ^ |
Raise to a power of |
3 ^ 2 (=32=9)
3^3 (=33=27) |
 
|
|
|
    Reserved Functions
| Operator |
Function |
Example |
| sqrt |
Square root |
sqrt(9) (=3) |
| curt |
Cube root |
curt(27) (=3) |
| sum |
Summation of an integer ( only the integer part will be considered if the number is not an integer) |
sum(99) (=1+2+3+...+98+99) |
| ! |
Factorial for an integer ( if the number is not an integer, only the integer part will be considered)
|
9! (=1*2*3*4*...*8*9) |
| exp |
Exponential function
|
exp(3) (=e^3) |
| ln |
Logarithm base e
|
ln(23) |
| lg |
Logarithm base 10
|
lg(1000) (=3) |
| sin, cos, tan |
Trigonometric functions (argument in radians)
|
sin(pi/2), cos(pi/2)
(pi=3.1415926535...) |
| arcsin, arccos, arctan |
Inverse trigonometric functions |
arcsin(1) arccos(0.5) |
 
|
|
|
|
Copyright(c) 2010 Xmart soft Ltd
|
|
|