Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

COS function

Description

Cosine function. COS(x) returns the cosine of an angle x. The result range is [-1..1]. The argument x must be expressed in radians. To convert degrees to radians you use the RADIANS function.


Sine and Cosine in unit circle

The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the COS function applied to all elements.

Examples

COS(PI()/3) equals 0.5.

COS(RADIANS(90)) equals 0.

COS(3.14159265) equals -1.

Calculator

COS(  

Graph

COS function

Related functions

External links