
Aime F. answered 02/12/23
PhD in Physics (Yale), have taught Methods of Engineering Analysis
The charge density is clearly ρ = Q/(4πr ³/3) and by the Gauss Law is proportional to divE. The charge enclosed at a distance d < r is q = (4πd ³/3)ρ. Integrating over the enclosing volume and applying the Gauss Theorem, q is proportional to ∮E•da, where by symmetry E = Eeᵣ and the area element da = daeᵣ are both radially directed, and E can be a function only of d (not direction eᵣ). Therefore ∮E•da = E4πd ².