Explain why the value of g is zero at the centre of the earth

Explain why the value of g is zero at the centre of the earth

The general equation for acceleration due to gravity ‘g’ is
image
Assuming Earth to be a perfect sphere, and considering it’s uniform density
we make the following adjustments in the above equation.
image