asin
Syntax Format
asin(x)
Overview
The asin
function provides the inverse sine for the indicated type value. The function returns the arcsine in radians in the range [−π/2, π/2] of a number in the range [−1, 1], nil otherwise. The provided number value can only be within the [−1, 1] range to receive a result.
Parameters
Parameter | Type | Purpose |
---|---|---|
x | series or numeric | A number in the range [−1, 1] |
Returns: same type as x.
Example
asin_value = asin(-1) -- equals ~ -1.5708 radians