A resistor of 5Ω is connected to a battery that maintains a steady current of 2A through the resistor for 5min.
(i) Calculate the electrical energy converted into heat in the resistor during this time, expressing your answer in joules.
(ii) Convert the energy obtained in part (i) into calories, taking 1cal=4.2J.