COS function

Prev Next

Description

Returns the cosine of the given angle in radians.

 

Syntax

COS(Number)

 

Arguments

Argument

Type

Dimensions

Description

Number

(required)

Number

Any Dimensions

Angle in radians for which to compute the cosine.

 

Returns

Type

Dimensions

Number

Dimensions of Number

 

Examples

Formula

Result

Description

COS(0.524)

0.866

The cosine of Ď€/6 radians is 0.866.

COS(0.785)

0.707

The cosine of π/4 radians is 0.707.

COS(1.571)

0

The cosine of π/2 radians is 0.

(1-COS(3.1416))/2

1

The output of this formulation is the haversine.

 

Related articles: SIN function