

Current flowing in wire A, IA = 8.0 A
Current flowing in wire B, IB = 5.0 A
Distance between the two wires, r = 4.0 cm = 0.04 m
Length of a section of wire A, l = 10 cm = 0.1 m
Force exerted on length l due to the magnetic field is given as:

Where,
= Permeability of free space =


The magnitude of force is
. This is an attractive force normal to A towards B because the direction of the currents in the wires is the same.
