HOW TO CALCULATE THE ENERGY STORED IN A CAPACITOR