asin

math

Calculates the inverse sine (arcsine) in radians

Syntax

asin(number)

Parameters

number (number)

The number to calculate the arcsine of (must be between -1 and 1)

Returns

number

The arcsine in radians

Examples

Input:
1 | asin
Output:
1.571... (π/2)
Input:
asin(0)
Output:
0
Input:
asin(0.5)
Output:
0.524... (π/6)

The asin() function calculates the inverse sine (arcsine) of a number, returning the result in radians.

Usage

Use asin() to find angles from sine values in trigonometric calculations. Input must be between -1 and 1.

Related Functions