A spherically symmetric charge distribution is considered with charge density varying as
$\rho(r) = \begin{cases} \rho_0\left(\frac{3}{4} - \frac{r}{R}\right) & \text{for } r \leq R \\ \text{Zero} & \text{for } r > R \end{cases}$
Where, $r(r < R)$ is the distance from the centre $O$ (as shown in figure). The electric field at point $P$ will be :
(see the figure above)

- (1)
$\frac{\rho_0 r}{4\epsilon_0}\left(\frac{3}{4} - \frac{r}{R}\right)$
- (2)
$\frac{\rho_0 r}{3\epsilon_0}\left(\frac{3}{4} - \frac{r}{R}\right)$
- (3)
$\frac{\rho_0 r}{4\epsilon_0}\left(1 - \frac{r}{R}\right)$
- (4)
$\frac{\rho_0 r}{5\epsilon_0}\left(1 - \frac{r}{R}\right)$
Show answer
Option (3) is correct.
Key from source paper