How do I find P as a function of r for a Vanderwaals gas?

haras
Messages
2
Reaction score
0

So, I've been given that archimedes principal for an atmospheric layer of gas on a planet is
dP/dr = -rho*g
where g is constant.

For a vanderwaals gas,
P = rhot*R*T - a*rho^2

I used the quadratic formula & solved for rho and put that into the dP/dr equation. getting...

dP = [((-RT +/- ((RT)^2 - 4aP)^.5) / 2a ] dr

now i need to separate the variables and integrate, to get P as a function of r, but how do i get P out of the right side of the equation?

Thanks!
 
Physics news on Phys.org
Don't you need an equation for T?
 
To solve this, I first used the units to work out that a= m* a/m, i.e. t=z/λ. This would allow you to determine the time duration within an interval section by section and then add this to the previous ones to obtain the age of the respective layer. However, this would require a constant thickness per year for each interval. However, since this is most likely not the case, my next consideration was that the age must be the integral of a 1/λ(z) function, which I cannot model.
Back
Top