A ball of radius R carries a positive charge whose volume charge density depends only on the distance r from the ball's centre as:
ρ=ρ0(1−rR) where
ρ0 is constant. Assume
ϵ as the permittivity of the ball.
Then the magnitude of the electric field as a function of the distance r outside the ball is given by :