Step 1:
The magnetic field B around a long straight wire carrying a current I at a distance r from the wire is given by Ampere's law as:
\[B = \frac{{\mu_0 I}}{{2\pi r}}\]
where \(\mu_0\) is the permeability of free space, which is equal to \(4\pi \times 10^{-7}
Show more…