home *** CD-ROM | disk | FTP | other *** search
- # ROESSLER.ODE
- # Roessler's chaotic attractor - Compare with Lorenz.ode.
- # Plot x vs. y
-
- # Use 5th order Runge-Kutta, auto step size, solve to 200.
- $m 5
- $n 500
- $t 200
-
- # Bifurcations are controlled by parameter mu. Try changing it !
- mu = 4
-
- # Initial values
- x = 1
- y = 0
- z = 0
-
- # Roessler system
- x' = -y - z
- y' = x + 0.2*y
- z' = 0.2 + x*z - mu*z