Gauss's theorem applied to a uniformly charged sphere, illustrating the calculation of Qint. Using a closed Gauss surface allows a simple calculation if it relies judiciously on the symmetries of the field. In our case, the closed surface is a sphere with no material reality.
Click to change the radius of the Gaussian surface.