cos returns the cosine of n (an angle expressed in radians).