Find the volume density distribution of electric charge: a) in a ball of radius R (the electric field strength E₀ in the ball is directed along its radius and does not change modulo); b) in an infinite cylinder of radius R (the electric field strength E₀ in the cylinder is directed along its radius and does not change modulo).