This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Define the function h | |
(defn h [x] (+ (* 0.5 x) 10)) | |
;; Show the first 7 values of the iteration of function h with seed 4 | |
(take 7 (iterate h 4)) |