Calculate the cosine.
This function returns the cosine of an angle. The angle must be in radian form, and the result is a real number.
Examples
Code | Returns |
---|---|
(cos pi) | -1.000000 |
(cos 1.5) | 0.0707372 |
(cos (/ pi 2)) | 0.000000 |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |