Created
January 11, 2014 12:01
-
-
Save aaz/8370126 to your computer and use it in GitHub Desktop.
Example taken from SFI Introduction to Dynamical Systems, Unit 1 homework, Q4 in the beginner section.
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)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment