The total heat produced in resistor R in an RL circuit when the current in the indicator decreases from I0 to 0 is