Function cos()
calculates the cosine value of a radian.
Arguments:
- Radian <number>
Returns:
- Cosine <number>, ∈ [-1, 1]
Common Usage
Example: Calculate the cosine value of the radian 60°
return cos(60 * pi() / 180)
Example: Calculate the cosine values of the radian of a column
uncollect [1, 2.5, 3] as a
return cos(a)