[关闭]
@whuyyf 2016-05-27T15:54:07.000000Z 字数 1662 阅读 905

第八次作业

作业


name:姚逸飞
student number:2013301020096

homework

Abstract

This passage is mainly discuss about the Oscillatory Motion. We have already learned the simple pendulum from senior high school.Now it's a perfect choice to discuss about the period of the simple pendulum.
This passage will discuss about two different method :Euler method and Euler-Cromer method.And we can purely see the strength of Euler-Cromer method.


simplependulum

Passage

The picture shows a simple pendulum.From the Newton's second law ,we can achieve the equation as follow

Here is the length of string, is the oscillation of angle , is the gravity.
So we can give the answer of the equation as follows:


It's a simple answer ,and we'll use this to compare the Euler Method:

and Eulwe-Cromer Method:

As we can see from the two method ,there only a little difference bwtween them. In many cases ,the results of two method are very close.But in the Oscillatory Motion,we can see that the results are prominently defferent.
The different pictures are shown as follows:


Euler and cromer


We can see from the picture that the energy of Euler method is diffuse but that of Euler_cromer method is not.


energy

The program is as follow: Here
When we consider the driven force ,we can get the different pictures:
1
2
3

conlusion

Although this homework is very easy ,I begin to learn how to write programe with the class,it's a huge step for me .

Reference

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注