Skip to content

Cos

See Also: Math Functions, Acos, Sin, Tan

Purpose

Cos returns the cosine of a value.

Return Type

Real

Syntax

(Cos( {expression} ))

What It Does

Cos returns the cosine of the value of {expression}. The expression is an angle stated in radians.

Real rCosine
Move (Cos(.70711)) To rCosine

Notes

  • Cos interprets {expression} as a number of radians. To calculate the cosine of a number of degrees, divide the degrees by 180 and multiply them by the value of π.

  • Cos converts {expression} to a real value and outputs a real value.