Investment Studio > Expressions > Functions > Math & Trig > COS

float cos(float argument)

Returns the cosine of the argument.

The argument is an angle expressed in radians. If you need the cosine of an angle expressed in degrees, multiply it by PI / 180 or use the radians conversion function before taking the cosine.

Example

=cos(PI / 3)

and

=cos(radians(60))

both equal 0.5 (the cosine of 60 degrees).

See also acos, sin, tan.