In the circuit shown in the figure, find the maximum energy stored on the capacitor. Initially, the capacitor was uncharged.