Cos

HC Arithmetic Trigonometric Functions Cos
radSin radCos

Cos degrees


outputs the cosine of its input, which is taken in degrees.

Examples:

Cos 0		;1  ;-)
Cos 90		;2.65358e-017  ;-)
Cos 180		;-1  ;-)
Cos 270		;-7.96075e-017  ;-)
Cos 360		;1  ;-)
Cos [0 45 90 135 180 225 270 315 360]
;[1 0.707107 2.65358e-017 -0.707107 -1 -0.707107 -7.96075e-017 0.707107 1] ;-)

Examples:

References:

radSin radCos