How to find the sketch energy of the capacitor (let's say versus time) with the q-v plot shown below?
The energy stored on a capacitor is CV^2/2 or 1/2 Q V.

In the problem given above it is simply the area under the Q-V curve. So you will get two different (nonzero) values for your energy depending on the time.