As we see
Tsinθ=F=14πε0q2a2 (i)
Tcosθ=mg (ii)
From equation (i) and (ii), we get
tanθ=q24πε0a2mg
a/2L=q24πε0a2mg (∵ for small θ,tanθ≈a/2L)
or a3L=q22πε0mg (iii)
When one of the balls is discharged, the balls come closer and touch each other and again separate due to repulsion. The charge on each ball after touching each other is q/2. Replacing q with q/2 in equation (iii), we get
b3L=(q/2)22πε0mg (iv)
From equations (iii) and (iv), we get
b3a3=14orb=a22/3