cos
Syntax Format
cos(x)
Overview
The cos
function provides the cosine value of the given series type. The function returns the cosine of x in radians. The provided number value can only be within the [−1, 1] range to receive a result.
Parameters
Parameter | Type | Purpose |
---|---|---|
x | numeric or series | Input value, taken into calculation |
Returns: numeric
or series
.
Example
value = cos(0)