Either manually or automatically get the magnet to slide through the coil.
Observe have the brightness of the lamp is linked to the speed the magnet is passing hrough the coil.