Lingo Dictionary > A-C > cos()

 

cos()

Syntax

(angle).cos
cos (angle)

Description

Function; calculates the cosine of the specified angle, which must be expressed in radians.

Example

The following statement calculates the cosine of PI divided by 2 and displays it in the Message window:

put (PI/2).cos

See also

atan(), PI, sin()