Acos Function

Returns the arccosine of the value specified. The arccosine is the angle whose cosine is value.

Syntax
result = Acos( value )

Parameters
value | Double | The value you want the arc cosine of.

Return Value
Result | Double | The arc cosine of value.

# Notes

The returned angle is given in radians.

The Acos function returns the angle (in radians) of the cosine passed to it. To convert the result from radians to degrees, multiply it by 180/PI.

# Examples

This example uses the Acos function to return the arc cosine of a number.

Dim d as Double
Const PI=3.14159265358979323846264338327950
d=Acos(.5) //returns 1.0471976
d=Acos(.5)*180/PI //returns 60

# See Also

Cos function.