cos

cos(number angle) → real cosine
Computes an angle's cosine.

Calculates the cosine of angle.

Parameters
Return
Examples

cos(0) // 1 cos(PI / 2) // 0 cos(PI / 3) // 0.5 cos(PI / 6) // sqrt(3) / 2