Polymath Functions

Source: Polymath Help File

Function Name Description
abs ( )  absolute value
arccos ( )  trigonometric inverse cosine with result in radians
arccosec ( )  trigonometric inverse cosecant with result in radians
arccosech ( )  inverse hyperbolic cosecant
arcsech () inverse hyperbolic secant
arccosh ( )  inverse hyperbolic cosine
arccotan ( )  trigonometric inverse cotangent with result in radians
arccotanh ( )  inverse hyperbolic cotangent
arcsec ( )  trigonometric inverse secant with result in radians
arcsin ( )  trigonometric inverse sine with result in radians
arcsinh ( )  inverse hyperbolic sine
arctan ( )  trigonometric inverse tangent with result in radians
arctanh ( )  inverse hyperbolic tangent
cbrt ( )  cubic root
cos ( )  trigonometric cosine with argument in radians
cosec ( )  trigonometric cosecant with argument in radians
cosech ( )  hyperbolic cosecant
cosh ( )  hyperbolic cosine
cotan ( )  trigonometric cotangent with argument in radians
coth ( )  hyperbolic cotangent
exp ( )  exponential (e^x )
erf ( )  error function 
exp10 ( )  exponential of 10 (10^x )
exp2 ( )  exponential of 2 (2^x )
fact ( N )  factorial of integer part of number N (this only operates on a number)
frac ( )  fractional part
int ( )  integer part
ln ( )  natural logarithm to the base e
log ( )  logarithm to the base 10
psi ( )  psi function 
rand ( )  Returns a random number between 0-1.
A parameter such as 1 or 2 should be provided to this function.
round ( )  rounded value
sec ( )  trigonometric secant with argument in radians
sech ( )  hyperbolic secant
sign ( )  returns + 1 or 0 or -1
sin ( )  trigonometric sine with argument in radians
sinh ( )  hyperbolic sine
sqrt ( )  square root
tan ( )  trigonometric tangent with argument in radians
tanh ( )  hyperbolic tangent

All function names must be given in lower-case letters. The trigonometric functions require that their arguments be given in radians. Conversely, the inverse trigonometric functions give their results in radians.

You should note that the functions require that their arguments be enclosed in parentheses, but that the arguments do not have to be simple numbers. You may have a complicated expression as the argument for a function, and you may even nest the functions, using one function (or an expression including one or more functions) as the argument for another.