Step 1:
According to Ampere's law, the magnetic field around a current carrying wire is given by the equation:
\[B = \frac{\mu_{0} I}{2 \pi r}\]
where \(B\) is the magnetic field, \(\mu_{0}\) is the permeability of free space, \(I\) is the current, and \(r\) is the
Show more…