Given that
Charge on the first sphere, q1 = a C
Charge on the second sphere, q2 = b C
Distance between the spheres, r = 30 cm =30/100 m = 0.3 m
(divide by 100 to convert cm to m )
Apply Coulombs law
q1 = first charge
q2 = Second charge
r = distance between both charge
ε0= permittivity of free space
1/4πε0 = 9 × 109 Nm2C-2
Putting the values in formula we get
F = (9x 109 x ab)/(0.3)2 Newton.