atmos-0.1.0.0: 1976 US Standard Atmosphere

Safe HaskellSafe-Infered

Atmosphere

Synopsis

Documentation

siAtmosphere :: (Floating a, Ord a) => a -> (a, a, a, a, a, a)Source

atmosphere in SI units

Input: altitude in meters

Output: (pressure, density, speed of sound, viscosity, kinematic viscosity)

 pressure            - N/m^2
 density             - kg/m^3
 speed of sound      - m/s
 viscosity           - N-s/m^2
 kinematic viscosity - m^2/s

usAtmosphere :: (Floating a, Ord a) => a -> (a, a, a, a, a, a)Source

atmosphere in imperial units

Input: altitude in ft

Output: (pressure, density, speed of sound, viscosity, kinematic viscosity)

 pressure            - lb/ft^2
 density             - slugs/ft^3
 speed of sound      - ft/s
 viscosity           - slugs/(ft-s)
 kinematic viscosity - ft^2/s

siAtmosphere' :: (Floating a, Ord a) => a -> Atmos aSource

atmosphere in SI units with ADT output

usAtmosphere' :: (Floating a, Ord a) => a -> Atmos aSource

atmosphere in imperial units with ADT output