Description
Returns the cosine of the given angle in radians.
Syntax
COS(Number)
Arguments
Argument | Type | Dimensions | Description |
---|---|---|---|
Number (required) | Number | Any Dimensions | Angle in radians for which to compute the cosine. |
Returns
Type | Dimensions |
---|---|
Number | Dimensions of Number |
Examples
Formula | Result | Description |
---|---|---|
| 0.866 | The cosine of π/6 radians is 0.866. |
| 0.707 | The cosine of π/4 radians is 0.707. |
| 0 | The cosine of π/2 radians is 0. |
| 1 | The output of this formulation is the haversine. |