Formualizer Docs
ReferenceFunctionsMath Functions

COS

Returns the cosine of an angle in radians.

Summary

Returns the cosine of an angle in radians.

Remarks

  • Input must be in radians.
  • Supports elementwise evaluation for array inputs.

Examples

Cosine at zero
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
1
Cosine at PI
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
-1

FAQ

Why can COS look wrong for degree values like 60?

COS interprets 60 as radians, not degrees; use COS(RADIANS(60)).

Runtime metadata

Category

Math

Signature

COS(arg1: Number)

Arity

min 1, max 1

Arguments

arg1

Number · Scalar · coercion NumberLenientText

Caps

PUREELEMENTWISENUMERIC_ONLY

Source

On this page