I was recently studying a question based on Electrostatics. Here is the link to the question (along with the answer below). I haven't learned integration yet. But my question here is how did we get $x^2\text dx$ as the radius of the Gaussian shell?
Link to the question and answer: https://www.sarthaks.com/40525/let-there-be-a-spherically-symmetric-charge-distribution-with-charge-density