cos function

num cos(
  1. num n
)

Computes the cosine of the angle x given in radians.

Implementation

num cos(num n) => math.cos(n);