Calculates thecosine of the input variable.
COS handles complex numbers in the following manner:
x = [-60, -30, 0, 30, 60] PRINT, COS(x * !Dtor)
0.500000 0.866025 1.00000 0.866025 0.500000
For a list of other transcendental functions, see Transcendental Mathematical Functions in Chapter 1.