Thank you for reporting, we will resolve it shortly
Q.
The magnetic force between wires as shown in figure is
Moving Charges and Magnetism
Solution:
Magnetic field at $dr , B =\frac{\mu_{0} I }{2 \pi r }$
Force on small element at a distance $r$ of wire of length
1 is $dF = i ( dr )\left(\frac{\mu_{0} I }{2 \pi r }\right)$
$F =\frac{\mu_{0} i I }{2 \pi} \int\limits_{ x }^{ x +\ell} \frac{dr}{r}=\frac{\mu_{0} i I }{2 \pi} \ell n \left(\frac{ x +\ell}{ x }\right)$