Radius of sphere given =R Mass of sphere =M Density of sphere, d=
M
4
3
Ï€R3
Radius of each of cavity =R∕2 Mass of each of portion removed to create a cavity = density × volume =
M
4
3
Ï€R3
×
4
3
Ï€(
R
2
)3=
M
8
Now, force of gravity on m, F= force due to complete sphere of mass M-force of mass of cavity of sphere Centre at A - force of mass of cavity of sphere Centre at B.