Skip to main content

COS function

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, Cosine, and Tangent in unit circle
Sine, Cosine, and Tangent 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 0.5

Graph

COS function

Related functions

  • ACOS function: returns the arc cosine of a number.
  • SEC function: Secant function (reciprocal of cosine)
  • PI function: returns value of PI.
  • RADIANS function: converts degrees into radians.
  • Trigonometric functions

External links