Returns the trigonometric cosine of an angle.

Syntax

COS(<expN>)

<expN>

The size of the angle in radians. To convert an angle's degree value to radians, use DTOR( ). For example, to find the cosine of a 30-degree angle, use COS(DTOR(30)).

Description

COS( ) calculates the ratio between the side adjacent to an angle and the hypotenuse in a right triangle. COS( ) returns a number from –1 to +1. COS( ) returns 0 when <expN> is pi/2 or 3*pi/2 radians.

Use SET DECIMALS to set the number of decimal places COS( ) displays.

The secant of an angle is the reciprocal of the cosine of the angle. To return the secant of an angle, use 1/COS( ).