Search…
Resources
Related Links
cos
To calculate the cosine
The function returns the cosine of an angle in radians. The result is a numeric value between -1 and 1.

Syntax

cos(number)

Return

number

Examples

cos(x) To calculate the cosine of a given number x between -1 and 1.
cos(-0.25)
Result: 0.9689124217106447

See also

acos, which calculates the arccosine of a number.
Export as PDF
Copy link