The graph shows how the acceleration due to gravity inside and outside of Earth varies with radial distance away from Earth’s center of mass. Earth is assumed to be a perfect sphere of constant density.
a) Write the relation between "g" and "r" at region A.
b) Write the relation between "g" and "r" at region B.