Given: The capacitance of the capacitor is
The electrostatic energy stored in the capacitor is given as,
Where, capacitance of the capacitor is
By substituting the given values in the above equation, we get
Thus, the electrostatic energy stored in the capacitor is