Lipi Reference
Lipi

Functions

math.asin()

The arcsine of `angle`, in radians. It is defined for a value from -1 to 1.

Syntax · 1 of 4

                math.asin(const float angle) → const float
              

Arguments

angle required const float The value, in radians, to use in the calculation.

Return Type

const float

Syntax · 2 of 4

                math.asin(input float angle) → input float
              

Arguments

angle required input float The value, in radians, to use in the calculation.

Return Type

input float

Syntax · 3 of 4

                math.asin(simple float angle) → simple float
              

Arguments

angle required simple float The value, in radians, to use in the calculation.

Return Type

simple float

Syntax · 4 of 4

                math.asin(series float angle) → series float
              

Arguments

angle required series float The value, in radians, to use in the calculation.

Return Type

series float

Example


          //@lipi=2
indicator("math.asin Example", overlay=false)
angle = math.asin(0.5)
plot(math.todegrees(angle), title="asin(0.5) in Degrees (30)", color=color.blue)