COS (Cosine)

The COS function returns the cosine of an angle.

Syntax

COS ( angle )

Remarks

The COS function takes an angle and returns the ratio of two sides of a right triangle. The ratio is the length of the side adjacent to the angle divided by the length of the hypotenuse. The result lies in the range -1 to 1.

The Angle argument can be any valid numeric expression measured in radians.

AngleDegrees can be used to change the source for this function to degrees instead of radians.

To convert degrees to radians, multiply degrees by Pi/180. To convert radians to degrees, multiply radians by 180/Pi. Pi is approximately 3.141593.