Development of a Python Program Simulating Motions of Celestial Bodies

Yan Jin · Journal of Physics Conference Series · 2021

Abstract While the research of the celestial body is essential to understand the universe, it requires considerable costs in time and equipment. However, the computation methods can be used to analyze the astrophysics process in a simple approach. In this paper, a model of computing the motion of solar system based on Euler’s method is established. The model divided the process into infinite small time steps, and iteration is used to represent integration and update the position of planets over the process. The NumPy and matplotlib are used to visualize the motion. By the analysis of momentum and energy through the process and the application in the 2-body situation, the model is proved to be valid and accurate.

Read the paper · More papers on PaperTik