In Lab 5, we continue our work with 1D iterations.
Here is an exemplary Tcl Script to explore.
- The logistic family
- Steps of KL on demand
- Download this ASCII file and save it on your hard disk,
- OR, run it in your browser.
A Tcl script (pronounced "tickle")
is a plain ASCII file which you can edit
with SimpleText on the Mac, or NotePad in Windows.
It may be run on most platforms with a Tcl interpreter
called WISH. All this is freeware, like LINUX, APACHE,
PERL, and so on.
Assuming that WISH has been installed on your machine and
set to load whenever a file with extension *.tcl is clicked,
the KL (Koenigs-Lemeray) app will pop up in a window.
Every time you click the KL button, another step of
Vertigo-Horrid occurs.
If you want to do experiments, you may edit the
file KL.tcl with the plain text editor, and thus learn Tcl
as a side-effect.
Suggestions
When you move the slider, you:
- adjust the control parameter [ R in the logistic function, R*X*(1-X) ]
- redraw the graph of the logistic function, and
- clear the screen of the red KL web
- BUT, the current value of X is remembered.
Experiment with values of R everywhere,
but especially in [3.6, 4.0].
|