TSny said:
[EDIT: I would start with a uniform sphere of density ##\rho_1## and find the force on the cap (of density ##\rho_1##). You should then be able to tweak the answer to get the solution to the problem.]
I guess you meant uniform sphere of density ##\rho_2##.
I seem to be ending up with triple integrals if I try to find the force. :(
Here is my attempt:
Consider a small element inside the cap of charge density ##\rho_1## of volume:
$$dV=r\,d\theta\,dr\,r\cos\theta\, d\phi=r^2\cos\theta\,dr\,d\theta\,d\phi$$
##\phi## is the second angle which is generally used in spherical coordinates. (I can't draw in 3D, I hope you understand what I am trying to do.

)
The charge in this volume is ##\rho_1\,dV##.
The electric field due to the larger sphere for ##r<R## is given by ##\rho_2r/(3\epsilon_0)##. Hence, the force on the selected element is given by:
$$dF=\frac{\rho_2\,r\, \rho_1\,dV}{3\epsilon_0}$$
The above force is radially outward so I resolve it into components. By symmetry, the force is in the direction of F shown in the figure. Hence, the component of force we have to integrate is the following:
$$dF'=\frac{\rho_2 \,r\,\rho_1\,dV}{3\epsilon_0}\cos\theta \,\cos\phi$$
I am sorry TSny but I can't explain how I got the above expression. I know how to reach this expression but I just don't know how to put it in words, I can't even make a sketch to explain my thought process. Sorry again. :(
Following are the limits for integration:
For ##\phi##: 0 to ##\arccos(1-h/(r\cos\theta))##
For ##\theta##: 0 to ##\arccos(1-h/r)##
For ##r##: ##R-h## to R.
Is the above correct?
Or is the above completely gibberish?
