The seventh homework-Oscillatory

2016-10-26  本文已影响0人  曾经我也码过代码


1.Abstract

Question3.12 and 3.13

3.12. In constructing the Poincare section in Figure 3.9 we plotted points only at times that were in the phase with the drive force; that is, at times



where n is an integer. At these values of t the driving force passed through zero [see(3.18)]. 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 \pi/4 out-of-phase with this force, etc. Construct the Poincare sections for these cases and compare them with Figure 3.9.

3.13. Write a program to calculate and compare the behavior of two, nearly identical pendulums. Use it to calculate the divergence of two nearby trajectories in the chaotic regime, as in Figure 3.7, and make a qualitative estimate of the corresponding Lyapunov exponent from the slope of a plot of log(\Delta\theta) as a function of t.

3.14. Repeat the previous problem, but give the two pendulums slightly different dampling factors. How does the value of the Lyapunov exponent compare with that found in Figure 3.7.



2.Background and Introduction

Before our this class, we have already learned some basic knowledge about the single pendulum, without damping and driving force, and when tilt angle is very small, the motion function of the pendulum can be written as


Obviously, the pendulum will do a periodic motion.
If we add damping to our pendulum, the motion function will become


And it will give us some interesting results. But, we can easily tell that our pendulum will stop eventually.
However, everything will totally different when there is a driving force that put on the pendulum. Maybe you will get this equation

But it is not right, because, in some cases, the tilt angle will be large, so we'd better write it as


Use the Euler-Cromer method, we can get the equation that is helpful for us to write program. By the way, in this homework, all programs are based on the Euler-Cromer method.

3.Content

The reason why I put it here is that I think the dissipation will encourage us to add driving force to our pendulun. And we can also verify some conclusions that we drawed in our classical mechanics before. Here g=9.8 and l=1.0.
If you want to check my work: Click the Code


We consider the addition of a driving force to the problem. Assume that the driving force is sinusoidal with time, like the equation that I give above, something wil be different. The pendulum will move all time time if the driving force is suitable. (F_D=0.2, q=1, \Omega_D=2.0)
Look: Click the Code


For making chaos, three conditions must be equiped: The equation of the motion of the pendulum must be nonlinear. There must exist dissipation in our system. We have to give the system some energy. But this is not enough, when some conditions(q=0.5, l=g=9.8, \Omega_D=2/3, dt =0.04, \theta(0)=0.2, \omega(0)=0) were given, the F_D will be the key of production of chaos.
Don't forget to Click the Code


As what I said, in abstact, that the system, in chaos, is quite sensitive to initial conditions. There I give an another figure for comparison. As for the program, youcan set a log function or adjust your coordinate axis after plotting. Here I choose the latter. (q=0.5, l=g=9.8, \Omega_D=2/3, dt=0.04, \theta(0)=0.2, \omega(0)=0) The initial values of \theta for two pendulums differed by 0.001 rad.
Don't hesitate to Click the Code



We have already told about the effects of a initial condition, but now if we add another initial condition to it, will the value of the Lyapunov exponent change?
Just like question 3.13, what we should do is to change the damping factors. The following figures, \Delta q =0.001 and -0.001, but I marked incorrectly!




In the section(3), we have talked what is chaos and we have already known that the trajectory of chaos is hard to predict. But it is not all right. In fact, if we plot \theta as a function of t, and plot tthe angular velocity \omega as a function of \theta(Plot in phase space.). Strange things will appear.
Please Click the Code!

If we examine these trajectories in a slightly differernt manner we find a very striking result. We just plot \pmega versus \theta only at times that are in phase with driving force.
If you would like to, please Click the Code!



4.Conclusion



5.Reference

[1] Nicholas J. Giordano, Hisao Nakanishi, Computational Physics(second Edition).
[2] Baidu wikipedia.
[3] Chaos theory in wikipedia, the free encyclopedia

上一篇 下一篇

猜你喜欢

热点阅读