@guoxiaowhu
2016-04-17T01:50:11.000000Z
字数 4103
阅读 3233
The 8th homework of computational physics
Author:Xiao GUO
nonlinear,pendulum
As we know,when the amplitude of a single pendulum is small,,its motion can be approximately described by peroidic simple harmonic motion.
The famous conclusion summarized by Galileo is that the period of pendulum is independent of its amplitude.
However,what is real fact like problem 3.8 if we don't do this approxiamtion ?
Author used Euler-Cromer method to solve the differential equation of nonlinear pendulum without approxiamation .Thus find the real relationship between amplitude and period.
The result force of the single pendulum is shown in following figure:
According to Newtonion Second Law,we can get the equation of motion of a single pendulum without friction and driving force:
In order to solve the nonlinear equation,firstly,transform this 2-order differential eqution into two 1-order differential equations:
There is the link of the program code to solve this problem
After inputting relevant parameters,this program can calculate,print and store results and data,finally plot angle-time image and its phase diagram.
Fix initial conditon and pendulum length
and time step (sometimes )
Just imagine that we set free the pendulum from angle without initial speed
When is small, for instance,degree
The curve of nonlinear pendulum is well consistent with sinusoid curve.
Attention:In these figures,the unit of is rad, not degree
If we increase ,when degree,
We can observe a little difference between nonlinear pendulum and linear pendulum.And the difference is accumulative with time goes by.Under this conditioin,the period of nonlinear pendulum is a little larger than before.
when degree,
when degree,attention:to see more periods of nonlinear pendulum, the magnitude of t axis multiplied by 2 in following figures.
when degree,
We can see that period of nonlinear pendulum increases with increasing amplitude.
When approaches 180degree or -180degree,not only its period will be larger than period of other ,but also its qualitative shape will have great change.
When degree
We can see that when pendulum reach the neighborhood of (or)degree,its angular speed and acceleration is very small. The curve in these neighborhoods become almost horizontal and forms many platforms like the Great Wall, which is obviously different from linear pendulum.This difference can be also observed from its phase diagram.
This figure shows that the phase trajectory of linear pendulum is an ellispe,while nonlinear pendulum's isn't.
If degree, this change of shape will be more obvious:
Its phase diagram:
At the same time,we can see that a little difference in initial condition leads to great change in phase trajectory.
Using previous program code to find out the quantitative relationship between amplitude and period.Following picture is the quantitative relationship between amplitude and period.
The period of linear pendulum is about 2s.
More interesting stories will happen if we set it free from a high angle with a enough initial speed so that it can rotate a whole cycle.
For example,
degree
rad/s
Its phase diagram:
Attention:The period of theta is 2.
[1]N.J. Giordano,H. Nakanishi.Computational Physics(second edition)(影印版).清华大学出版社