Answer
(b) it is equal to 2.5 mJ.
Work Step by Step
By conservation of energy the energy lost by the capacitor must be equal to that dissipated by the resistor. Thus total heat generated by the resistor will be 2.5mJ.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.