The cos method returns the cosine of a number.
System.Double cos(System.Double x);
x
Angle in radians.
Returns the returns a numeric value between -1 and 1, which represents the cosine of the angle.
Member of Math.