The side ① is along the x-axis from (0,0,0) to (2,0,0). The point of interest is (0,0,5).
The formula for the magnetic field due to a finite wire is:
$\vec{B} = \frac{\mu_0 I}{4\pi r} (\sin\theta_2 - \sin\theta_1) \hat{n}$
where $r$ is the distance from the wire
Show more…