Data: I1 = I2 = 10 A, s = 8 mm = 8 × 10-3 m, l = 0.22 m
By right hand grip rule, the direction of the magnetic field \(\overrightarrow{B_{2}}\) due to the current in wire 2 at AB is into the page and its magnitude is
B2 = \(\frac{\mu_{0}}{4 \pi} \frac{2 I}{s}=10^{-7} \times \frac{2(10)}{8 \times 10^{-3}}=\frac{1}{4} \times \mathbf{1 0}^{-3}\) T
The current in segment AB is upwards. Then, by Fleming’s left hand rule, the force on it due to \(\overrightarrow{B_{2}}\) is to the left of the diagram, i.e., away from wire 1, or repulsive. The magnitude of the force is
Fon 1 by 2 = I1lB2 = (10)(0.22) × \(\frac{1}{4}\) × 10-3
= 5.5 × 10-4 N