A very long straight wire carries a current of $5.0\ \mathrm{A}$. Take $\mu_0 = 4\pi\times10^{-7}\ \mathrm{T\,m\,A^{-1}}$. Use Ampere's law, $\oint \vec{B}\cdot d\vec{s} = \mu_0 I_{\text{enc}}$, to calculate the magnitude of the magnetic flux density at a point $0.040\ \mathrm{m}$ from the wire.
Worked solution
By symmetry the field lines are circles centred on the wire, so take a circular Amperian loop of radius $r = 0.040\ \mathrm{m}$ in a plane perpendicular to the wire. Along this loop $\vec{B}$ is everywhere parallel to $d\vec{s}$ and constant in magnitude, so $\oint \vec{B}\cdot d\vec{s} = B(2\pi r)$. The loop encloses the whole current, $I_{\text{enc}} = 5.0\ \mathrm{A}$. Ampere's law gives $B(2\pi r) = \mu_0 I$, so $B = \dfrac{\mu_0 I}{2\pi r}$. Substitute: $\mu_0 I = (4\pi\times10^{-7})(5.0) = 6.28\times10^{-6}\ \mathrm{T\,m}$ and $2\pi r = 2\pi(0.040) = 0.251\ \mathrm{m}$. Therefore $B = \dfrac{6.28\times10^{-6}}{0.251} = 2.5\times10^{-5}\ \mathrm{T}$, with the field lines circling the wire.