Explanation: For the positive half of the input, the diode is in the on state and hence acts as a short circuit and hence vo = 0 V. For the negative half cycle, the resistor receives voltage input both from the source and the capacitor which is charged during the positive half of the input. Hence, vo = -20 V.