 - 第一个问题较多:如(if (> rx r0))→(if (> rx r0),大小写不分且多一个括号!第二种,修改后能运行:(defun tan (x) (/ (sinx) (cosx)))→[glow=255,red,2](defun tan (x) (/ (sin x) (cos x)))[/glow]
- (defun acos (x) (atan (/ (sqrt (1 (* x x))) x)))
- (defun asin (x) (atan (/ x (sqrt (1 (* x x))))))
- (defun inv (x) (- (tanx) x))→[glow=255,red,2](defun inv (x) (- (tan x) x))[/glow]
|