Chaotic Dynamics Handouts
Fractal Geometry Handouts and Code
Three Body files
- threebody.m This M-file defines the
differential equations for the 3-body planar problem.
- bodyscript.m A script file to run
a three body planar simulation.
Other scripts and interesting code!
- Miscellaneous Julia set Code in Matlab
- Julia set 1
- Julia set 2
- Julia set 3
- Julia set 4
- (For Josh W's project) Here is some code written
in C to produce the picture of
the basins of attraction for a pendulum over three magnets.
To run the code, save it as
pendulum1.c,
compile it (for example, type: gcc -lm pendulum1.c ),
then run it by typing: a.out
The result is a data file stored as: pendulum.dat
which can be loaded and viewed in Matlab: X=load('pendulum.dat');
then: imagesc(X)
- From Stephen's project on Cubics