ACos
Description: | Calculates the trigonometric arc cosine in radians. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Trigonometric Math |
Related to: | ASin | ATan | Cos | Sin | Tan |
Format: | ACos(X) |
Parameters: |
X |
Required. Any numeric expression in the range -1 to +1. |
Comments: | The returned angle is in radians. To convert an angle from radians to degrees, divide by \pi / 180 or (approximately) 0.0174533. |
Example:
radAngle = ACos(0); degAngle = radAngle / \pi / 180;
In the example shown above, the value of degAngle will be 90.