Let there be a spherically symmetric charge distribution with charge density varying as…
Let there be a spherically symmetric charge distribution with charge density varying as $\rho(r)=\rho_0\left(\frac{5}{4}-\frac{r}{R}\right)$ upto $r=R$, and $\rho(r)=0$ for $r>R$, where $r$ is the distance from the origin. The electric field at a distance $r(r < R)$ from the origin is given by