The electrostatic potential energy stored in a capacitor of the capacitance C (x) and a positive electric charge + Q or negative charge - Q on each conductive plate is (with using the definition of the capacitance as C = Q V ),