Instantaneous power
Note: Enter C=1.0e9 to short the capacitor, L=0/R=0 to short the inductor or resistor