Step 1: Initial and Final Potential energy
When the charge q is placed at A, the potential energy of the charge system will be:
UA=Kq1qr+Kq2qr
The initial distance of the two charges from q is r=10 cm or 0.1 m
∴ UA=9×109 (2×10−7C)20.1m+9×109 (2×10−7C)20.1m =72×10−4 J
When the charge q is placed at B, the potential energy of the charge system will be:
UB=Kq1qr′+Kq2qr′
The final distance of the two charges from q is r′=20 cm or 0.2 m
UB=2×9×109×4×10−140.2=36×10−4J.
Step 2: Work done
As electric force is conservative force, So, the Work done by Electric force in moving q from A to B will be equal to the negative of change in potential energy i.e.
WE.F.=−ΔU
=−(UB−UA)
=−((36−72)×10−4)=36×10−4J=3.6×10−3J
Note: Work done by Electric Force here is positive here, as while moving from A to B, the Electric force on third charge will be along its displacement, i.e. towards B.