This page is also available in 3 other languages

cos()

[Trigonometry]

Description

Calculates the cosine of an angle (in radians). The result will be between -1 and 1.

Syntax

cos(rad)

Parameters

rad: The angle in Radians (float).

Returns

The cos of the angle (double).

See also