Basic Physics Course with MATLAB's Symbolic Toolbox and Live Editor

Animation 2: Keplerian orbit

A planet orbits the sun in a Kepler orbit in the x-y plane. The orbit r(φ) is derived by symbolic integration, the time dependence φ(t) is derived by a one-dimensional numerical integration. Further details can be found in Chap04_2