Let be the magnetic moment of the magnet M. Then the magnetic field due to this magnet is,
The flux associated with this, when the magnet is along the axis at a distance x from the centre, is
When the flux changes, an e.m.f. induced and a current flows. The total charge q, flowing, as the magnet is removed to infinity from x = 0 is,