Cos (function)

<< Click to Display Table of Contents >>

Cos (function)

Cos(Num)

Returns the cosine of an angle.

The angle must be expressed in radians.

See also: Atn, Sin, Tan

Example:

Sub Main

 pi = 4 * Atn(1)

 rad = 180 * (pi/180)

 x = Cos(rad)

 Print x

End Sub