acos()
Calculates the angle whose cosine is the specified number. Inverse operation of cos().
Syntax
acos(x)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| x | real | ✓ | The value used to calculate the arc cosine. |
Returns
The value of the arc cosine of x. The return value is null if x < -1 or x > 1.
Example
print Result= acos(0)
Result
| Result |
|---|
| 1.5707963267948966 |