Q.
Let ρ(r)=πR4Qr be the charge density distribution for a solid sphere of radius R and total charge Q. For a point P inside the sphere at a distance r1 from the centre of the sphere, the magnitude of electric field is
In figure dotted sphere of radius r1 is the Gaussian surface.
According to Gauss’s theorem ∮E⋅ds=ε0qinside ∮Edscos0∘=ε01∮ρ(r)dV E(4πr1)2=ε0πR4Q0∫r1r(4πr2)dr =ε0R44Q(4r14)=ε0Q(Rr1)4. ∴E=4πε0QR4r12