HP Forums
Solving the Hohmann transfer with the HP Prime - 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: Solving the Hohmann transfer with the HP Prime (/thread-18810.html)



Solving the Hohmann transfer with the HP Prime - cdeaglejr - 09-13-2022 05:23 PM

// program hohmann HP Prime

// September 13, 2022

// this program solves the Hohmann two impulse orbital transfer
// between planar and non-coplanar circular Earth orbits

////////////////////////////////////////////////////////

This program will request the altitude and orbital inclinations of the initial and final orbits with the following prompts. Please note the proper units for each input.

// request altitude of initial circular orbit (kilometers)

INPUT(alt1, "Hohmann transfer", "alt1 = ", "enter initial altitude in kilometers");

// request altitude of final circular orbit (kilometers)

INPUT(alt2, "Hohmann transfer", "alt2", "enter final altitude in kilometers");

// request inclination of initial circular orbit (degrees)

INPUT(inc1, "Hohmann transfer", "inc1 = ", "enter initial inclination in degrees");

// request inclination of final circular orbit (degrees)

INPUT(inc2, "Hohmann transfer", "inc2 = ", "enter final inclination in degrees");

A PDF document which describes the orbital mechanics of the Hohmann transfer is included in the zip archive.