HP Forums
Calculating the orbital periods of an Earth satellite - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP Prime Software Library (/forum-15.html)
+--- Thread: Calculating the orbital periods of an Earth satellite (/thread-18990.html)



Calculating the orbital periods of an Earth satellite - cdeaglejr - 10-20-2022 02:39 PM

This HP Prime program demonstrates how to calculate the orbital periods of an Earth satellite.

The user can define the classical orbital elements of the satellite starting at line 35 of the source code. The attached zip archive contains a PDF document that explains the different orbital periods of a satellite.

Here's an example

////////////////////////////////////
// define classical orbital elements
////////////////////////////////////

// semimajor axis (kilometers; semimajor axis > 0)

sma := 8000.0;

// orbital eccentricity (non-dimensional; 0 <= eccentricity < 1)

ecc := 0.015;

// orbital inclination (degrees; 0 <= inclination <= 180)

inc := 28.5;

// argument of perigee (degrees; 0 <= argument of perigee <= 360)

argper := 270.0;

// true anomaly (degrees; 0 <= true anomaly <= 360)

tanom := 30.0;