SQRTPI
The function SQRTPI takes a Number, multiples it by pi, and outputs the square root of the resulting product.
This function takes a Number as input. It outputs another Number: the square root of the given number multiplied by pi.
Declaration
Parameters
n (required, type: Number
) Any number.
Return Values
number (type: Number
) The square root of n multiplied by pi. Mathematically, this can be written as √(nπ).
Examples
The following example takes the Number 2 as input, multiplies it by pi, and outputs the square root of the resulting product:
The following example takes the result of the function PI (itself the mathematical constant pi), multiplies it by pi, and outputs the square root of the resulting product (pi squared):
Last updated