maths
E
The e
subcommand returns 2.718281828459045, Euler's number.
| eval e=e()
Pi
The pi
subcommand returns the value of pi (3.141592653589793).
| eval pi=pi()
Sin
The sin
subcommand calculates the sine of a number in radians.
| eval sin=sin(<expression>)
Cos
The cos
subcommand calculates the cosine of a number in radians.
| eval cos=cos(<expression>)
Tan
The tan
subcommand calculates the tangent of a number in radians.
| eval tan=tan(<expression>)
SinH
The sinh
subcommand calculates the hypebolic sine of a number in radians.
| eval sinh=sinh(<expression>)
CosH
The cosh
subcommand calculates the hypebolic cosine of a number in radians.
| eval cosh=cosh(<expression>)
TanH
The tanh
subcommand calculates the hypebolic tangent of a number in radians.
| eval tanh=tanh(<expression>)
ASin
The asin
subcommand calculates the arcsine of a number in radians.
| eval asin=asin(<expression>)
ACos
The acos
subcommand calculates the arccosine of a number in radians.
| eval acos=acos(<expression>)
ATan
The atan
subcommand calculates the arctangent of a number in radians.
| eval atan=atan(<expression>)
ASinH
The asinh
subcommand calculates the inverse hypebolic sine of a number in radians.
| eval asinh=asinh(<expression>)
ACosH
The acosh
subcommand calculates the inverse hypebolic cosine of a number in radians.
| eval acosh=acosh(<expression>)
ATanH
The atanh
subcommand calculates the inverse hypebolic tangent of a number in radians.
| eval atanh=atanh(<expression>)
Exp
The exp
subcommand calculates the base e exponential of a number. This is equivalent to e^x
.
| eval exp=exp(<expression>)
Ln
The ln
subcommand calculates the nautral logarithm (base e) of a number.
| eval ln=ln(<expression>)
Sqrt
The sqrt
subcommand calculates the sqaure root of a number.
| eval sqrt=sqrt(<expression>)
Abs
The abs
subcommand calculates the apsolute value of a number.
| eval abs=abs(<expression>)
Ceil
The ceil
subcommand calculates the ceiling (next highest integer) of a number.
| eval ceil=ceil(<expression>)
Floor
The floor
subcommand calculates the floor (next lowest integer) of a number.
| eval floor=floor(<expression>)
Log
The log
subcommand calculates the logarithm of a number in the provided base
| eval result=log(<expression>, <base>)
Pow
The pow
subcommand raises a number to the power of another number.
| eval result=pow(<expression>, <exponent>)
Nrt
The nrt
subcommand calculates the nth root of a number.
| eval result=nrt(<expression>, <degree>)
Add
The add
subcommand adds 2 numbers together.
| eval result=add(<expression>, <expression>)
Sub
The sub
subcommand sutracts one number from another.
| eval result=sub(<expression>, <expression>)
Mul
The mul
subcommand multiplies two numbers.
| eval result=mul(<expression>, <expression>)
Div
The div
subcommand divides one number by another.
| eval result=div(<expression>, <expression>)