I wrote a C# program to graph NASA’s Earth Atmospheric Model’s variation of air density with height in Imperial Units and the United States Navy’s air density altitude equation.
Earth Atmosphere Model – Imperial Units (nasa.gov)
The USN’s formula for density – altitude is found in “Exterior ballistics, 1935” by Lieutenant Commander Ernest Edward Herrmann who was an instructor at the United States Naval Academy.


