Electric energy stored in capacitor