A charged capacitor C1 is discharged through a resistance R by putting switch S in position 1 of the circuit as shown in fig.5.201. When the discharge current reduces to i0, the switch is suddenly shifted to position 2. Calculate the amount of heat liberated in resistor R starting form this instant. Also calculate current I through the circuit as a function of time.

