The math.asin()
function returns the arc sine(inverse sine) of a given number, x.
math.asin(x)
Where x
is any real number.
The arc sine is calculated as the angle in radians whose sine is x
.
The asin()
function returns the angle in radians, we can use the math.degrees() to turn the angle into degrees.