Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module implements the 1976 U.S. Standard Atmosphere, but is only valid for altitudes from sea level to 11km.
- pressureToHeight :: Floating a => a -> a
- heightToPressure :: Floating a => a -> a
Documentation
pressureToHeight :: Floating a => a -> a Source #
Given a barometric pressure measurement in Pascals, return altitude in meters.
heightToPressure :: Floating a => a -> a Source #
Given altitude in meters, return a barometric pressure measurement in Pascals.