cos(X)
Returns the cosine of the given value.
Syntax
cos(X)
Input
Argument | Type | Description |
---|---|---|
X |
any numeric type | A numeric value |
Return Value
Returns a decimal number corresponding to the cosine of
X
.Note:
X
is a measurement in radians.If X
is N/A, the result is N/A.
Sample Usage
X |
cos(X) |
---|---|
1.571 | 0 |
0.7854 | 0.7071 |
0.0785 | 0.9969 |
-0.0785 | 0.9969 |
NA | NA |