Let two long parallel wires a distance ‘d’ apart, carry equal current ‘i’ in the same direction. One wire is at x=0, the other at x=d. Determine magnetic field at any point on x-axis between the wires as a function of ‘x’.
Let us consider a point ‘P’ at a distance from the wire 1.
Hence
The point is at a distance from wire 2.
.