I have a circuit with capacitor in series with a parallel reverse bias diode and resistor circuit. Vo is across the parallel circuit. Vi is a square wave. Vγ is 0V. Assuming Vc is 0v initially, I thought the Vc would charge up to Vi then discharge through the resistor. But answer to the book has Vo as 2xVi. Does it add Vi and Vo since the resistor is shorted through the diode?