The magnetic field at O due to current in DA is B1=‌
µ0
4Ï€
‌
I
a
×‌
Ï€
6
(directed vertically upwards) The magnetic field at O due to current in BC is B2=‌
µ0
4Ï€
‌
I
b
×‌
Ï€
6
(directed vertically downwards) The magnetic field due to current AB and CD at O is zero. therefore the net magnetic field is B=B1−B2 (directed vertically upwards) =‌