The amount of heat energy required by the water to increase its temperature from T to \(T'\) is as follows:
\(Q = mc\left( {T' - T} \right)\) … (ii)
The energy stored inside the capacitor is given to the water to increase its temperature. From equations (i) and (ii),
\(\begin{array}{c}PE = Q\\\frac{1}{2}C{V2} = mc\left( {T' - T} \right)\\V = \sqrt {\frac{{2mc\left( {T' - T} \right)}}{C}} \end{array}\)
Substitute the values in the above expression.
\(\begin{array}{c}V = \sqrt {\frac{{2\left( {2.8\;{\rm{kg}}} \right)\left( {4186\;{\rm{J/kg}} \cdot {\rm{\circ C}}} \right)\left( {95\circ {\rm{C}} - 21\circ {\rm{C}}} \right)}}{{4.0\;{\rm{F}}}}} \\ = \sqrt {433669.6} \;{\rm{V}}\\ = 658.5\;{\rm{V}}\end{array}\)
Thus, the potential difference across the plates of the capacitor is 658.5 V.