The student discharged the capacitor. She set the variable resistor to its maximum
resistance and closed the switch. As the capacitor charged, the student decreased
the resistance of the variable resistor so that the current remained constant until the
capacitor was fully charged.
A graph of current against time is shown.