@Zemel-Yang
2016-11-28T02:00:32.000000Z
字数 2413
阅读 1032
python homework
We will discuss a simple modle —— Earth-Sun system. Change the initial velocity and time step. Study the differeces in the senstivity to increasing time step.
The Solar System formed 4.6 billion years ago from the gravitational collapse of a giant interstellar molecular cloud. The vast majority of the system's mass is in the Sun, with most of the remaining mass contained in Jupiter. The four smaller inner planets, Mercury, Venus, Earth and Mars, are terrestrial planets, being primarily composed of rock and metal. The four outer planets are giant planets, being substantially more massive than the terrestrials. The two largest, Jupiter and Saturn, are gas giants, being composed mainly of hydrogen and helium; the two outermost planets, Uranus and Neptune, are ice giants, being composed mostly of substances with relatively high melting points compared with hydrogen and helium, called volatiles, such as water, ammonia and methane. All planets have almost circular orbits that lie within a nearly flat disc called the ecliptic.

Here I found a 3D simulation of solar system




From the result we can see that the time step should be no longer 1 percent of the total time. The smaller time step I take, the more precise the orbit is.