LISP program to demonstrate the use of trigonometric functions
kw.lisp
Output
kodingwindow@kw:~$ clisp kw.lisp ——————————————————————————————————————————— Program for trigonometric functions ——————————————————————————————————————————— Enter the angle 60 sin(60) | -0.3048106 cos(60) | -0.95241296 tan(60) | 0.32004037 cot(60) | 0.6173696 sec(60) | 1.9035945 cosec(60) | 1.1752213 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
LISP program to demonstrate the use of numeric conversion functions
LISP program to calculate the square and cube of numbers
LISP program to find the min and max of two numbers
Advertisement