We can use Ampere's law to find the magnetic field around a long straight wire, which is given by the formula:
\[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 wire.
Show more…