Given: The current carried by the wire is
Magnetic force per unit length on wire is given as,
where, the magnetic field is
By substituting the given values in the above equation, we get,
Therefore, magnetic force per unit length on the wire is