Step 1:
The magnetic field B at a distance r from an infinitely long straight conductor carrying a current I 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 \(4\pi \times 10^{-7} \, \text{T
Show more…