Skip to content

Instantly share code, notes, and snippets.

@RussellAndrewEdson
Created January 23, 2016 07:11
Show Gist options
  • Save RussellAndrewEdson/2e40690c839580b700f6 to your computer and use it in GitHub Desktop.
Save RussellAndrewEdson/2e40690c839580b700f6 to your computer and use it in GitHub Desktop.
The logistic equation function definition.
;;; The logistic equation, x(n+1) = r*x(n)*(1-x(n))
(define (logistic-equation r x)
(* r x (- 1 x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment