Math.acos(number)
Previous  Top  Next

Syntax
Math.acos(x)

Arguments
x: A number or expression. (-1 <= x <= 1).

Returns
A number, the angle (in radians) of arc cosine (x).

Description
Calculates the arc cosine (x).

Sample
Math.acos(0.5);   // returns 1.0471975511966 (PI / 3 radians = 60 degrees)

Note:
Requires Advanced Math Support. See here for more information

See Also
Math.acos(), Math.acosdeg(), Math.asin(), Math.asindeg(), Math.atan(), Math.atandeg(),
Math.cos(), Math.cosdeg(), Math.sin(), Math.sindeg(), Math.tan(), Math.tandeg(),
Math.atan2(y,x) and Math.atan2deg(y,x).