Energy stored in a capacitor (E) = $\frac{1}{2}CV^2$, where C is capacitance and V is voltage.
C = 12 pF = 12 × 10-12 F V = 50 V
E = $\frac{1}{2}(12 \times 10^{-12} \text{ F})(50 \text{ V})^2 = 15 \times 10^{-9} \text{ J} = 15 \text{ nJ}$


The output (Y) of the given logic implementation is similar to the output of an/a …………. gate.