G=g\rho_t\frac{4}{3}\frac{D_2^3}{8}\pi-g\rho_k\frac{4}{3}\pi\left(\frac{D_2^3}{8}-\frac{D_1^3}{8}\right)