Calculates the cosine.
Cos( x )
(f) x: angle in radians.
(f) the Cos function returns the cosine of x.
Calculates the cosine. If x is large, a loss in significance in the result or a significance error may occur.
Note: To convert an angle measured in degrees to radians, simply multiply by the constant @Deg2Rad.
real=AskLine("Cosine", "Enter an angle in degrees ( 0 to 360)", "45", 0) answer=Cos(real * @DEG2RAD) Message("Cosine of %real% degrees is",answer)