Hello guys.
I am trying to find the tangent value of the angle 30.0 with Autolisp but it does not give the same value as in Calculator:
(defun tan (x)
(/ (sin x) (cos x))
)
My example in Autolisp:
(* (tan 30.0) 0.275)
returns -> -1.76147 which is not correct and it must return: 0.158771324
Could anyone explain why?
Thanks in advance.