Solve the all parts of given problem:
Problem: A 5.50 x 106 ohm resistor and a 0.60 muF capacitor are connected in series with an ideal battery of 26.00 V. After a long time has passed the current drops to zero,
Part A: How much energy was dissipated in the resistor?
Part B: How much energy was stored in the capacitor?
Part C: How much energy was provided by the battery?
I need help to find how much energy was stored in the capacitor.