

Distance between the spheres, 
Initially, the charge on each sphere, 
When sphere A is touched with an uncharged sphere C, amount of charge from A will transfer to sphere
C. Hence, charge on each of the spheres, A and C,
.
When sphere C with charge
is brought in contact with sphere B with charge q, total charges on the system will divide into two equal halves given as,

Each sphere will share each half. Hence, charge on each of the spheres, C and B, is
.
Force of repulsion between sphere A having charge
and sphere B having charge
=
=


Therefore, the force of attraction between the two spheres is
.
