Learn R Programming

marelac (version 2.1.11)

air_density: Air Density

Description

The density of the air, in kg/m3

Usage

air_density(t = 25, P = 1.013253)

Value

The air density, in kg/m3

Arguments

t

Temperature, \(^\circ\)C.

P

True pressure, bar

Author

Karline Soetaert <karline.soetaert@nioz.nl>, Lorenz Meire <lorenz.meire@nioz.nl>

References

http://www.cactus2000.de/uk/unit/masshum.shtml

See Also

vapor, air_spechum, gas_O2sat, gas_satconc, gas_schmidt, gas_solubility, gas_transfer, atmComp

Examples

Run this code
air_density(t = 25) # 1.183894
plot(0:30, air_density(t = 0:30), xlab = "Temperature, dgC", ylab = "kg/m3")
plot(x= seq(0.8,1.2, 0.01), y = air_density(P = seq(0.8,1.2, 0.01)),
     xlab = "pressure, bar", ylab = "kg/m3")

Run the code above in your browser using DataLab