Given:
A wire of length l cm
Electric current through the wire = i
Magnetic field, T.
As per the question, the current is passing along the X-axis.
Magnetic force,
Putting the repective values in the above equation, we get:
= i{(l ) × (B0 + B0 + B0 )}
= i{lB0 − lB0 }
= ilB0{− + }
The magnitude of the magnetic force,
=
∴ = ilB0