PX282 - A0 - hydrostatic equilibrium

(1)FG=GMrdmr2

where, dm=ρ(r)drdA, ρ(r) is the density, dA is the area of the cylinder's circular surface

(2)FP=ρ(r)dA−ρ(r+dr)dA=−dPdA dPdr=−GMrρ(r)r2