I was given a sphere with radius R and a charge density function δ(r),where r is the distance from the center of the sphere. I want to find the total charge in the sphere.
I know that Q = δV
The Attempt at a Solution
I tried integrating V ∫δ(r)dr over 0 to R, but I'm not sure that will give me the total charge, but am unsure that's the right way to go about this. is it? thanks.