cos (Math)

Calculates cosine of an angle.

Arguments

angle
in radians is a real number.

Return values

Cosine value as a real

number
.

Example

3.14 cos print
Output:
-0.999999