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) =