math.cos

Syntax

f = math.cos(n)

Get the cosine. The argument is in radians.

Returns:f - cosine of n
Arguments:n - number in radians