R/altitude2density.R

Defines functions altitude2density

Documented in altitude2density

altitude2density <- function(altitude=0) {
  fc <- ISA0
  rho0 <- fc$density
  g0 <- fc$gravity
  R <- fc$gasconstant
  T0 <- fc$temperature
  a <- fc$tempgrad


  rho0*(1 + a*altitude/T0)^-(g0/R/a + 1)
}

Try the afpt package in your browser

Any scripts or data that you put into this service are public.

afpt documentation built on Nov. 3, 2023, 5:10 p.m.