A sphere of density $\rho$ and radius $a$ has a concentric cavity of radius $b$ as shown in the Fig. $7.13$.
Gravitational potential energy as a function of $r$, where $r$ is the distance from the centre of the sphere. When $0<r<b$
(A) $U(r)=-2 \pi G \rho m\left(a^{2}-b^{2}\right)$.
(B) $U(r)=\frac{-4 \pi G \rho m}{3 r^{2}}\left(a^{3}-b^{3}\right)$.
(C) $U(r)=-\frac{2 \pi G \rho m}{3 r}\left(3 r a^{2}-2 b^{2}-r^{3}\right)$.
(D) None of these.