Electrical energy from resistance, current and time
E
Resistance times the current squared times the time: the heat a current leaves in a resistor, in joules when the time is in seconds.

E=21,600J
E equals 20 times (3 squared times 120), equals 20 times (9 times 120), equals 20 times 1,080, equals 21,600 J
