(a) While the capacitor is being charged, suppose it holds charge q, so its potential difference is q/C. Moving a further small charge dq from the negative plate to the positive plate needs work
dW=Cqdq
The total work to charge it from 0 to Q is the area under the V–q graph (a triangle):
U=∫0QCqdq=2CQ2=21CV2=21QV

(b) Isolated, so Q=CV=(5×10−6)(200)=1.0×10−3 C stays fixed. Doubling d halves C to 2.5 μF.
V′=C′Q=2.5×10−61.0×10−3=400 V
U=21CV2=21(5×10−6)(200)2=0.10 J,U′=21C′V′2=21(2.5×10−6)(400)2=0.20 J
W=U′−U=0.10 J
The work is done by the agent pulling the oppositely charged plates apart against their attraction.
(c) Before: E=dV=2×10−3200=1.0×105 V/m. After: E′=4×10−3400=1.0×105 V/m, the same (with Q fixed, E=σ/ε0 is fixed).
u=21ε0E2=21(8.85×10−12)(1.0×105)2≈0.044 J/m3
The energy density is unchanged, but the volume occupied by the field, A×d, has doubled, so the total energy doubles.