50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

afpt (version 1.1.0.4)

altitude2density: Compute density in International Standard Atmopshere

Description

This function computes the air density at a specified altitude in the Troposphere of the International Standard Atmosphere.

Usage

altitude2density(altitude = 0)

Value

Numerical value or array for the density in kg/m3

Arguments

altitude

(geopotential) altitude in meters above sealevel.

Author

M. Klein Heerenbrink

Details

ρ=ρ0(1+ahT0)g0Ra+1 with ρ0 = 1.225 kg/m3, a = -0.0065 K/m, h geopotential altitude in meters, g0 = 9.80665 m/s2, and R = 287.1 J/Kg/K.

References

U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, Washington, D.C.

Examples

Run this code
altitude <- seq(0,3000,100) # meters above sealevel
density <- altitude2density(altitude)

Run the code above in your browser using DataLab