Project: Math and Science27
Visibility: Unlisted (only visible to those who know the link)Image: ubuntu2004
Kernel: Python 3 (system-wide)
Orbital Motion Model
Use simple linear approximation to plot the orbits of bodies subject to gravitational force.
Object oriented programming methods
Although this worksheet uses 3D vectors, it all works in 2D as well.
Use physically reasonable physical parameters for solar system.
The model is an iterative function, where each and are determined from the previous , , and the calculated .
The method is linear approximation, using kinematics equations for and , and Newton's Universal Gravitation inverse square law for .
The vectors are represented in Python using NumPy arrays. NumPy is preferred for ease of manipulation as well as plotting via matplotlib.