# COS( ) function

Returns the cosine of an angle expressed in radians, with a precision of 15 decimal places.

## Syntax

`COS(radians)`

## Parameters

Numeric. The measurement of the angle in radians.

Numeric.

## Remarks

The three trigonometric functions in ACL – SIN( ), COS( ), and TAN( ) – support performing the Mantissa Arc Test associated with Benford’s Law.

If your input is in degrees you can use the PI( ) function to convert the input to radians: (degrees * PI( )/180) = radians. If required, you can round or truncate the return value using the DEC( ) function.

## Examples

Example Return value

COS(1.047197551196598)

0.500000000000000

The return value is the cosine of the specified number of radians. The radians value is equivalent to 60 degrees.

COS(60 * PI( )/180)

0.500000000000000

The return value is the cosine of 60 degrees.

DEC(COS(60 * PI( )/180),3)

0.500

The return value is the cosine of 60 degrees, rounded to 3 decimal places.

Related reference
PI( ) function
SIN( ) function
TAN( ) function