COS

Function

COS returns the Cosine of the argument.

Syntax

COS(Angle)

Where angle is in radians.

Examples

X = COS(Y)

sets X equal to the cosine of Y.

R = COS(5)

sets R equal to the cosine of 5 radians.

Remarks

For angles in degrees use:

X=COS(A/180*PI)