Solve this
Q. A coil of inductance L = 2.0 H and resistance R = 1 is connected to an ideal source of constant emf = 3 V as shown in the figure. The amount of heat produced in the coil after the switch S is disconnected, is
(1) 1 J
(2) 3 J
(3) 10 J
(4) 50 J