Solve the following problems:
Problem I: A 1.00-µF capacitor is connected to a 18.0-V battery. How much energy is stored in the capacitor?
________________ µJ
Problem II: Had the capacitor been connected to a 6.00-V battery, how much energy would have been stored?
________________ µJ
Please provide a full detailed explanation for the solution.