airjs

The Barometric Function, in Javascript

air.js

=====

The Barometric Function, in Javascript

In browser:

<script src="air.js"></script>
var pressureAtOneKm = air.pressure(1000);
 
var densityAtTwoKms = air.density(2000);