A p-n junction (D) shown in the figure can act as a rectifier. An alternating current source (V) is connected in the circuit. The current (I) in the resistor (R) can be shown by
The given circuit works is half wave rectifier. In this circuit, we will get current through R when p-n junction diode is forward biased and no current when p-n junction is reversed biased. Thus the current through resistance will be shown by graph (b).