Current supplied to a loop within a magnetic field