YoGabbaGabba
- 2
- 0
Homework Statement
In a sphere of radius R, the charge density varies as \rho(r) = BrN. There is no charge outside the sphere. B and N are constants.
a.) Find the charge enclosed in a sphere of radius r<R.
Homework Equations
\rho=dq/dv
The Attempt at a Solution
I integrated \rho(r)(4\pir2dr) and got q=(4\piBrN+3)/(N+3) + C. Is this right? If so, would it be correct to use the boundary condition; @ r=R, q=0 in order to solve for C? It doesn't sound right because there must be charge at the surface?