diode rectifier R -Vdc and RC loads