It is given that
l=20cm=0.2m
M=200g=0.2Kg
B=0.5T
(a) The tension in the threads when the switch S is open
2Tcos30=mg
2T√32=0.2×10
T=2√3=1.154N
(b) when the switch S is closed a current of 2.0A is established then tension
in thread will be
2Tcos30=mg+ilB
2T√32=0.2×10+2×0.2×0.5
2T√32=2.2
T=1.27N