math.asin

Full name
math.asin
Library
math
Syntax

math.asin(x)

Description

The math.asin function returns the angle in radians whose sine is x.

Parameters
  • x: Sine of the angle to be obtained.
Result

The math.asin function returns a real number in the closed interval [-π/2, π/2].

Examples

Some examples of use of this function are shown below:

math.acos(-1)
3.141592653589793
math.asin(0)
0.0
math.asin(1)
1.5707963267948966
Submitted by admin on Wed, 02/03/2021 - 09:07