@Zemel-Yang
2016-10-31T06:34:38.000000Z
字数 2777
阅读 2911
python homework chaos
The nonlinear damped, driven pendulum exhibits chaotic behavior for certain values of the parameters in its equation of motion. The behavior of the nonlinear pendulum in phase space is examined for specific values of these parameters. The characteristic of the system Poincare sections is examined by Euler-cromer method.
The nonlinear pendulum is one example of a very simple system that can demonstrate chaotic behavior. Chaotic oscillations are of interest in many fields, including mechanical engineering, and the case of the nonlinear damped, driven oscillator may serve as a basis for mathematical models for other systems. Thus, it is interesting to explore the behavior of the nonlinear pendulum, first because it is an example of a very simple system that can demonstrate chaotic behavior, and secondly because it is mathematically
similar to many other problems involving vibrations.
A double rod pendulum animation showing chaotic behavior. Starting the pendulum from a slightly different initial condition would result in a completely different trajectory. The double rod pendulum is one of the simplest dynamical systems that has chaotic solutions.
Problem 3.12
In constructing the Poincare section in Figure3.9 we plotted points only at times that were in phase with the drive force;that is at times ,where is an integer.At these values of the driving force passed through zero.However,we could just as easily have chosen to make the plot at times corresponding to a maximum of the drive force,or at times out-of-phase with this force, etc. Construct the Poincare sections for these cases and compare them with Figure3.9.
The Equation of Motion
Considering the driving force an damping, we have the equation of motion:
Numerial approach
Use Euler-cromer method we can rewrite the equation:
Program and Results
Click here for codes
Figure 1:Results for as a function of for a pendulum(Poincare sections), at times .


Figure 2:At times corresponding to a maximum of the drive force, that means .


Figure 3:At times out-of-phase with drive force.


From the figures we can see that at defferent times, the Poincare sections are different.For the lower ( =0.5), the relation cetween and is approximately identified and stable. When is higher, this relation becomes unstable and the Chaotic phenomenon is obvious.
Baker, G.L. and Gollub, J.P. Chaotic Dynamics: An Introduction. 2nd
ed. New York: Cambridge University Press, 1996.
Szemplinska-Stupnicka, W. and Troger, H. eds. Engineering
Applications and Dynamics of Chaos. New York: Springer-Verlag, 1991
.