@355073677
2016-05-09T08:11:45.000000Z
字数 3697
阅读 2562
计算物理
Name:陈锋
Student Number: 2013301020145
May 5, 2016
The author use fourth-order Runge-Kutta method to solve this problem and the algorithm is contained in ode.py
Excepting the influence of Jupiter and Saturn, there is an additive unexplained 43 arcseconds of precession of Mercury. Using general relativity, it can be explained theoretically. However, the precession rate is fairly small, so we have to design our simulation with that in mind.
The force law predicted by general relativity is:
However, if the coefficient is too large, the trajectory of Mercury will deviate from ellipse, which will bring troubles to us.
The orbital trajectory fro a body of reduced mass is given in polar coordinates by
Firstly, if we doesn't consider the effect of general relativity, the trajectory can be solve analytically. Thus, in this situation, we can check the precision of our numerical method.
Figure 1: The solid line is the result of numerical method and the dash line is that of analytical method. Since I use fourth-order Runge-Kutta method, the numerical results are nearly the same as the analytical one, which is what we expect. The unit of r is AU.
Figure 2: Simulated orbit for Mercury orbiting the sun. The force law (1) was used, with . The programme was stopped after several orbits.
Since we know that:
Setting and
Figure 3: As the increase of eccentricity, the furthest distance between Mercury and the sun becomes larger.
Figure 4: As the increase of eccentricity, the angular velocity of percession decrease. It is intuitive. Because when the eccentricity is very large, the oribit will become so long that it takes a very long period to circulate.
Fitting result:
Linear model | f(x) = a*exp(b*x) |
---|---|
Coefficient: a (with 95% confidence bounds) | 21.13 (19.15, 23.11) |
Coefficient: b (with 95% confidence bounds) | -3.67 (-4.076, -3.264) |
Goodness of fit:
SSE | 1.415 |
---|---|
R-square | 0.9925 |
Adjusted R-square | 0.9914 |
RMSE | 0.4496 |
As the eccentricity increase, the orbit of Mercury becomes longer and the angular velocity of percession dramatically decrease.
感谢王世兴同学指出计算不同离心率对应的进动角速度时作者所犯的错误。
1.Giodano, N.J., Nakanishi, H. Computational Physics. Tsinghua University Press, December 2007.