Speed-controlling a mains-powered, brushed DC motor.