So, we can write the magnetic field due to one side of the square loop as:
$$
B_{1\text{wire}} = \frac{\mu_0 I}{2\pi r} \times \hat{k} \times \sqrt{4r^2 + d^2}
$$
where $\mu_0$ is the permeability of free space, $I$ is the current, $r$ is the distance from the
Show more…