Magnetic field of quadratic wire