Documentation/Calc Functions/COS

Function name:
COS

Category:
Mathematical

Summary:
Calculates the trigonometric cosine (cos) of an angle expressed in radians.

Syntax:
COS(Number)

Returns:
Returns a real number in the range [-1, 1] that is the trigonometric cosine of the specified angle.

Arguments:
Number is a real number, or a reference to a cell containing that number, that is the angle in radians whose trigonometric cosine is to be calculated.


 * If Number is non-numeric, then COS reports a #VALUE! error.

Additional details:
If your angle is expressed in degrees, either multiply by PI/180 or use the RADIANS function to convert to radians.

The formula for the trigonometric cosine of x is: $$\cos(x)~=~\sum_{n=0}^{\infty }\frac{(-1)^{n}}{(2n)!}~x^{2n}$$

The figure below illustrates the function COS.



Related LibreOffice functions:
ACOS

COT

CSC

SEC

SIN

TAN

ODF standard:
Section 6.16.19, part 2

Equivalent Excel functions:
COS