A spherically symmetric charge distribution is characterised by a charge density having the following variation :
p(r)=po(1−rR) for r<R
p(r)=0 for r⩾R
Where r is the distance from the centre of the charge distribution and po is a constant. The electric field at an internal point (r<R) is :