The correct option is B 8×10−4 J
Applying Kirchhoff’s first law at junctions A and B respectively we have 2+1−i1=0 i.e., i1=3A and i2+1−2=0 i.e., i2=1A
Now applying Kirchhoff’s second law to the mesh ADCBA treating capacitor as a seat of emf V in open circuit
−3×5−3×1−1×2+V=0 i.e V(=VA−VB)=20 V
So, energy stored in the capacitor U=12(4×10−6)×(20)2=8×10−4 J