Simulation and Animation of the n-Body Problem in Two-Bodies
CSEF · 2005 Physics & Astronomy
Overview
Objectives/Goals As the failure rates of satellites are increasing and becoming "space junk," the study of the gravitational 2-body problem is crucial. Trying to understand the n-body problem in a simpler form, such as the two-body problem, is a possible intermediate step in tracking the movements of satellites in space. Therefore, the goal is to create a computer program that simulates a special case of the n-body problem. Methods/Materials The program was manually written, tested, compiled, and debugged using C++ and Matlab, and included animation and user interface enabling control over simulation variables through Microsoft's OpenGL. Results Solving the 2-body problem numerically presented the most computationally efficient way to model the free bodies in real time. The software has a built in kinetic and potential energy indicator which displays the conservation of energy and ensured the accuracy of the program. Conclusions/Discussion Modeling and enabling a better understanding of special cases of the n-body problem could have applications in solving the general problem, which would not only be a monumental mathematical achievement, but would offer huge dividends in space-related industries.
Summary statement
My project is to simulate and animate the n-body problem with the special case of the two-body problem.
Help received
California State University Los Angeles for allowing me to use their facilities under the supervision of Dr. Charles Liu.
Competition history
- CSEF 2005
Resources
Related projects
CSEF · 2014
Creating a Space Flight Simulator Program
ISEF · 2022
Providing a Simulator for the N Body Problem Using Programming and Euler's Method, After Basing It on Our Solar System
ISEF · 2025
Taylor Integration to Model the Dynamics of the Restricted Three-Body Problem
ISEF · 2015
N-body Simulations Using the GPU
ISEF · 2017
Dancing with the Stars: Simulating Multi-Star Solar Systems and the Probability of Planetary Ejection
ISEF · 2024
Celestium: Optimized and Accurate Planetary and Interplanetary Satellite Modeling via Utilization of Novel Algorithms and Advanced Differential Equations
CSEF · 2010
Celestial Body Mass Estimation: A Study of the Accuracy of Using Orbital Elements to Determine the Central Body#' Mass
CSEF · 2017
In Search of Planet 9: Locating through Computer Modeling
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects