Skip to content

Cos

Cos(expr)

returns the cosine of expr (measured in radians). Cos(expr) will evaluate automatically in the case expr is a multiple of Pi, Pi/2, Pi/3, Pi/4 and Pi/6.

See:

Examples

>> Cos(0)
1
>> Cos(3*Pi)
-1
>> Cos(1.5*Pi)
-1.8369701987210297E-16

Implementation status

  • ✅ - full supported

Github