cos() Function

The cos() function calculates the trigonometric cosine of an angle of a specified numeric expression in the range 0 to 360 degrees.

Syntax

cos(num.exp)

Parameter(s)

num.exp

Angle from 0 through 360 from which the trigonometric cosine is to be calculated.

Description

Values that are less than 0 or greater than 360 are adjusted using the integer division function: mod(angle, 360).

See Also

BASIC Functions, ln() Function, Numeric Expressions, sin() Function, Statements and Functions, tan() Function