PPT Slide
The capacitor can neither consume nor create energy¾ it can only store energy
The voltage is nil for 0 ³ t ³ 2 seconds so there is no net stored energy in the capacitor over the time interval 0 £ t £ 2 seconds
Therefore it follows that the energy supplied (produced) by the source equals the energy consumed by the resistor (which is 18 J.)
What is the temporal behavior of the capacitor’s stored energy?