Quote by sgstudent
Oh so from this equation how will we show that the density and pressure changes with altitude?

This equation shows that P is proportional to rho so that if P decreases at a constant T, then rho must as well. However, even if T is not constant, as long as it decreases more slowly than P does, then the reduction in pressure leads to a reduction in density. This is true in the troposphere, where temperature decreases linearly with altitude, but pressure decreases as a power law.