I saw this example at griffiths. It’s a basic question about gauss’s law but I saw the electric field being treated as a constant and thus, it got outside of the integral. I couldn’t quite understand this.
closed as unclear what you're asking by Kyle Kanos, Aaron Stevens, Jon Custer, stafusa, Daniel Griscom Oct 24 at 2:40
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Assuming the charge carriers are not prevented from moving in the material of the sphere (e.g. they are mobile charge carriers in a conducting solid sphere), the charges will distribute themselves uniformly so that at equilibrium the electric field is zero anywhere within the sphere. In other words, a uniform distribution insures an electrostatic condition in the conducting material.
Hope this helps