27
diagram 1 
diagram 2
The diagrams show a magnetised steel rod inside a solenoid connected to a potentiometer.
In diagram 1, the potentiometer is connected to a d.c. power supply.
In diagram 2, the potentiometer is connected to an a.c. power supply.


Which action would demagnetise the piece of steel?