This repository contains MATLAB scripts to easily calculate planetary atmosphere
Python scripts will become available as this repository is still in work
h = r_p*h_g/(r_p h_g)
p2_iso = p1exp(-(go/(RT))(h2-h1)) rho2_iso = rho1exp(-(go/(RT))(h2-h1))
p2_grad = p1*(T2/T1)^-(go/aR) rho2_grad = rho1*(T2/T1)^(-go/(a*R)-1)
T2 = T1 a*(h2-h1)
Other units: (Pressure - N/m^2 / Density - kg/m^3)