shaking the magnet through a solenoid to produce emf(induced voltage).