The energy of a charged capacitor is given by the expression (q = charge on the capacitor and C = capacity of capacitor
q22C
q2C
2 q C
q2C2
q=CV and U=12CV2=q22C