Safe Haskell | Safe-Infered |
---|
- siAtmosphere :: (Floating a, Ord a) => a -> (a, a, a, a, a, a)
- usAtmosphere :: (Floating a, Ord a) => a -> (a, a, a, a, a, a)
- data Atmos a = Atmos {
- atmosTemperature :: a
- atmosPressure :: a
- atmosDensity :: a
- atmosSpeedOfSound :: a
- atmosViscosity :: a
- atmosKinematicViscosity :: a
- siAtmosphere' :: (Floating a, Ord a) => a -> Atmos a
- usAtmosphere' :: (Floating a, Ord a) => a -> Atmos a
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
Atmos | |
|
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