A charge q is uniformly distributed in a sphere of radius R. Obtain an expression for the potential V(r) at a point distant r from the centre (r < R).
Choose a point at distance r (< R) from the centre of the nucleus. Let q' be the charge within the sphere of radius r.