Question

Show that the energy required to build up a spherical body of radius R, by adding successive layers of matter in an onion-like fashion until the final radius is attained (keeping density constant) is E(p) = -3*G*M**2/(5*R).