ArcCos() Function
- Last UpdatedFeb 21, 2017
- 1 minute read
Returns the arcus cosine of a number. It is the reciprocal function to the Cos() function. Use the ArcCos() function to calculate the angle from 0 to 180 degrees whose cosine is equal to that number.
Syntax
result = ArcCos (number)
Parameters
number
A literal number, analog tagname, or numeric expression in the range of -1 to 1.
Example(s)
ArcCos(1) returns 0.
ArcCos(-0.5) returns 120.