Functions
math.acos()
The arccosine of `angle`, in radians. It is defined for a value from -1 to 1.
Syntax · 1 of 4
math.acos(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.acos(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.acos(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.acos(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.acos Example", overlay=false)
angle = math.acos(0.5)
plot(math.todegrees(angle), title="acos(0.5) in Degrees (60)", color=color.blue)