We can use Ampere's Law for this purpose, which states that the magnetic field around a current-carrying wire is given by:
$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}
Show more…