A pn 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