Built-in functions
The following built-in functions can either be used individually or in more complex expressions using arithmetic operators.
The value of x
The value x is either a (composite) expression, a predefined constant, or a integer- or float-literal. Note that x is real-valued, it cannot be a complex number.
Function name | Operation | Grammar |
---|---|---|
Square root | \(\sqrt{x}\) | sqrt( x ) |
Natural exponential | \(\text{e}^x\) | exp( x ) |
Natural logarithm | \(\log(x)\) | log( x ) |
Absolute value | \(\|x\|\) | abs( x ) |
Sine | \(\sin(x)\) | sin( x ) |
Cosine | \(\cos(x)\) | cos( x ) |
Tangent | \(\tan(x)\) | tan( x ) |
Arcsine | \(\sin^{-1}(x)\) | asin( x ) |
Arccosine | \(\cos^{-1}(x)\) | acos( x ) |
Arctangent | \(\tan^{-1}(x)\) | atan( x ) |
Hyperbolic of sine | \(\sinh(x)\) | sinh( x ) |
Hyperbolic of cosine | \(\cosh(x)\) | cosh( x ) |
Hyperbolic of tangent | \(\tanh(x)\) | tanh( x ) |
Hyperbolic of arcsine | \(\sinh^{-1}(x)\) | asinh( x ) |
Hyperbolic of arccosine | \(\cosh^{-1}(x)\) | acosh( x ) |
Hyperbolic of arctangent | \(\tanh^{-1}(x)\) | atanh( x ) |