A Perl program to calculate the temperature and pressure at a particular altitude or calculate the air density using a given temperature for an altitude below 11000 m.
Download the file, make it executable, and run it at the terminal command line.
It is a terminal command line program tested using perl-5.24.0.
Use a parameter: m or ft for altitude in meter or feet, or C or K for temperature in Celcius or Kelvin with a space to separate the parameter and the unit e.g. 20000 m
Daniel Tuinman available at [email protected]