Note: must also be used with earth_moon_orbit_ode45 at https://www.mathworks.com/matlabcentral/fileexchange/71313-earth_moon_orbit_ode45
Depicts the path in 3 dimensions of a projectile being affected by the gravity of the Earth and the Moon using both the Classical 4th Order Runge-Kutta Method and Euler's Method. A special thank you to Professor Mark Edelen who taught the Mat-lab Programming & Numerical Methods class at Howard Community College. He created a program similar to this that simulated Apollo 13's flight path which inspired this program, and believed in my ability to create such a program.
See also https://www.mathworks.com/matlabcentral/fileexchange/69476-earth_moon_orbit_va-riable_timesteps for a similar version of this program
Aryeh Laks (2019). earth_moon_orbit_animation (https://www.mathworks.com/matlabcentral/fileexchange/70598-earth_moon_orbit_animation), MATLAB Central File Exchange. Retrieved .
Math error was found and corrected. ode45 was added in to check the results of the other methods. Graphics were updated.
Create scripts with code, output, and formatted text in a single executable document.