You are viewing a single comment's thread. Return to all comments →
clojure code
(defn nth-term [x n] (reduce (fn [acc el] (/ (* acc x) el)) 1 (range 1 (inc n)))) (defn exponential [x] (reduce (fn [acc el] (+ acc (nth-term x el))) 1 (range 1 10)))
Seems like cookies are disabled on this browser, please enable them to open this website
Evaluating e^x
You are viewing a single comment's thread. Return to all comments →