A.a junction capacitor,a battery,a small resistor,and the ideal diode B.a battery,asmallresistor,and the ideal diode C.a battery and the ideal diode D.the ideal diode