Try this problem, useful for the Physics Olympiad Problem based on total charge of a sphere. The Problem: Suppose a charge (Q) is distributed within a sphere of radius (R) in such a way that the charge density (\rho(r)) at a distance r from the centre of the sphere is $$ \rho(r)=K(R-r) \hspace{2mm }for\hspace{2mm} 0<r<R$$ […]