Two heaters, A and B, have resistances 5Ω and 20Ω respectively. Each is connected separately to a 10V battery for the same duration. What is the ratio of the electrical energy produced in heater A to that in heater B?
a) 1 : 1
b) 4 : 1
c) 1 : 4
d) 16 : 1