I got this formula for the magnetic field of a square-shaped coil: B = m0*2*sqrt(2)*I*N/(a*pi), where m0 is the permeability, and a is the side of the square... I can't really get why it is so, and my best tries resulted in approximation of the 'diameter' of the coil, for example by taking the...