2. A satellite orbit calculated with RK4#

To illustrate the integration method, let’s see how it handles a satellite orbiting Earth. The animation uses following parameters:

  • The satellite starts at the closest distance to Earth at 8,000 km from center with initial speed of 9203 m/s.

  • The playback multiplier is 4,333.

  • The RK4 uses 2 seconds tick.

  • At 60 frames/s this is about 36 ticks per frame.

  • Earth is fixed and spherical, no Moon and no Sun.