The magnetic field due to a long straight wire carrying 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, $I$ is the current and $r$ is the distance from the
Show more…