A p-n junction diode 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:
Solution:
This acts as a half-wave rectifier which only allows +ve current to pass through the diode.