Energy gained on a fall to the center: .
Here we integrate force times distance on an unimpeded fall from the earth's surface at radius R to the center a radius 0...