Jim's
Tutorials

Fall 2013
course
navigation

Oct 8th

Went over chapters 0 to 8. It was fairly basic. Spent some time working on programming the bifurcation diagram for the logistic equation ax(1-x). I think I have it down fairly well conceptually, although I haven't gotten it to graph yet. I tried a few different approaches, which are below. They are not quite done.

Jim says

OK, so I've made an ipython notebook that plots the logistic map and its bifurcation diagram. See the attachments.
To run it :
# download .ipynb; then in that folder : $ ipython notebook pylab=inline # then in the ipython dashboard click on logistic_jim
I created the logistic_him.html static version was created from the command line as follows. (I installed pandoc first, a general doc format converter tool - not sure if needed that or not.)
$ ipython nbconvert --to html logistic_jim.ipynb
The next thing to do would be to zoom in on smaller pieces of the bifurcation diagram to see its fractal nature. (Try using the same commands I did, with smaller ranges for "a".)
http://cs.marlboro.edu/ courses/ fall2013/jims_tutorials/ cspitzer/ Oct_8th
last modified Tuesday October 8 2013 4:49 pm EDT

attachments [paper clip]

     name last modified size
   logistic_iterator.py Oct 8 2013 2:42 pm 948B    logistic_iterator1.py Oct 8 2013 2:42 pm 1.38kB    logistic_iterator2.py Oct 8 2013 2:43 pm 1.45kB [TXT]logistic_jim.html Oct 8 2013 4:45 pm 237kB    logistic_jim.ipynb Oct 8 2013 4:22 pm 39.2kB