2. In this battery-charger circuit, the sine-wave input vs is 12 V (rms), while the battery voltage variesfrom 12 V to 14 V from the discharged to fully charged states.

Rs = 10 0 is the charging-sourceresistance, D is an ideal diode, and Rc = 50 0 is a current-controlling resistor established by thedesigner. Sketch and label the diode-current waveform for V = 12 V. What are its peak and averagevalues? What do the peak and average diode currents become when VB reaches 14 V?

Fig: 1

Fig: 2