Hello. In autolisp, you need to calculate the equation:
I wrote a small function:
(defun func (abx) (expt (+ a (- b (/ (cos x) (sin x)))) (/ 1 (abs x))) ) As a result of execution (func 1 2 3) prints 1.0, although I figured it out in Excel and there should be 2,155529488. What am I doing wrong?

xto radians for thecosandsintrigonometric functions? - Kromster