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