According to Ampere's law, the magnetic field (B) at a distance (r) from a long straight wire carrying a current (I) is given by the formula:
\[ B = \frac{{\mu_0 \cdot I}}{{2\pi \cdot r}} \]
where \(\mu_0\) is the permeability of free space.
Show more…