First, we need to find the magnetic field created by the infinite wire. We can use Ampere's Law for this purpose. For a wire carrying current I, the magnetic field at a distance d from the wire is given by:
$$B = \frac{\mu_0 I}{2 \pi d}$$
Show more…