Category: Uncategorized
-
Solar System Model

This is a Matlab solar system model using initial positions and velocities of the planets in respect to the sun. All planets are included with the addition of the Moon and Pluto. The program uses ODE45 to solve the n-body problem for each of the masses. Circular orbits are incurred since average distance and velocity…
-
Three Body Problem

Matlab code for a three body gravitational simulation. This code uses ODE45 to solve the 18 differential equations in a three body problem. Most initial conditions result in chaotic results so a few solutions or orbits have been provided. Chaotic Result Most initial conditions will result in chaotic paths. Solutions are hard to predict and…
