15.08.2015 Views

Introduction to the Modeling and Analysis of Complex Systems

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

162 CHAPTER 9. CHAOSThen explain in words how its dynamics change over r.9.4 Chaos in Continuous-Time ModelsAs we reviewed above, chaos is really easy <strong>to</strong> show in discrete-time models. But <strong>the</strong>discovery <strong>of</strong> chaos was originally made with continuous-time dynamical systems, i.e., differentialequations. Edward Lorenz, an American ma<strong>the</strong>matician <strong>and</strong> meteorologist, <strong>and</strong>one <strong>of</strong> <strong>the</strong> founders <strong>of</strong> chaos <strong>the</strong>ory, accidentally found chaotic behavior in <strong>the</strong> followingmodel (called <strong>the</strong> Lorenz equations) that he developed <strong>to</strong> study <strong>the</strong> dynamics <strong>of</strong> atmosphericconvection in <strong>the</strong> early 1960s [5]:dx= s(y − x)dt(9.9)dy= rx − y − xzdt(9.10)dz= xy − bzdt(9.11)Here s, r, <strong>and</strong> b are positive parameters.This model is known <strong>to</strong> be one <strong>of</strong> <strong>the</strong> first thatcan show chaos in continuous time. Let’s simulate this model with s = 10, r = 30, <strong>and</strong>b = 3, for example:Code 9.2: Lorenz-equations.pyfrom pylab import *from mpl_<strong>to</strong>olkits.mplot3d import Axes3Ds = 10.r = 30.b = 3.Dt = 0.01def initialize():global x, xresult, y, yresult, z, zresult, t, timestepsx = y = z = 1.xresult = [x]yresult = [y]zresult = [z]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!