Guest User

Untitled

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. 1 + x^1/1! + x^2/2! + x^3/3!.....etc
  2.  
  3. (defun taylor(x n)
  4. (if (= n 0) 1
  5. (+ (/ (power x n) (factorial n)) (taylor(x (- n 1))))))
Add Comment
Please, Sign In to add comment