cos

AutoCad AutoLISP Functions

 
cos
 
 
 

Returns the cosine of an angle expressed in radians

(cos ang)

Arguments

ang

An angle, in radians.

Return Values

The cosine of ang, in radians.

Examples

Command: (cos 0.0)

1.0

Command: (cos pi)

-1.0