The switch S is closed for a long time and then released again. How much energy is dissipated through the resistors after the switch is released? It should be (LI^2)/2 shouldn't it? Where I is the current right before the switch is released. I even integrated the R(i(t))^2 where i(t) is the current decay function of time for an RC circuit. The answer I got was 81 J but apparently the answer is 36 J? I'm deeply confused. Can someone show me how to correctly solve this if my approach is wrong?