When I compute the integral for electric field inside a sphere ∫E dS = ∫ de / ε I get that E = 2B(r^2 - R^2)/r^2 which doesn't make any sense to me, since when R = 0, E is just 2B
However, the thing that troubles me, is that in the middle the density of charge limits to infinity and I'm not sure how to build out a formula for that.
I have already calculated full charge inside the sphere: e = ∫ρ dV = 2πBr^2
And I know that electric potential on the edge of the sphere is: U = e/ 4πεr
The idea is that I calculate work by the change of electric potential energy, but to do that, I have to calculate electric potential energy in...