Consider two concentric spherical metal shells of radii and r2(r2 > r1). If the outer shell has a charge q and the inner one is grounded, the charge on the inner shell is :
Let the charge on the inner shell be q'.
The total potential will be zero.
So,