Calculate the density of dry or moist air based on pressure and temperature.
Formula: ρ = P / (R * T)