A certain resistor is first connected to a 6A direct current for 10s. It is then connected to an alternating current of 6A (r.m.s.) for the same time. How does the heat produced in the second case compare with the first?
(a) It is half as much.
(b) It is four times as much.
(c) It is the same.
(d) It is double.