The earth is an approximate sphere. If the interior contained matter which is not of the same density everywhere, then on the surface of the earth, the acceleration due to gravity
a) Would be the same everywhere
b) Would vary depending on the location
c) Would be zero
d) Would be infinity