I'm trying to do this electronics exercise, but I can't tell if the question is wrong or I have to add something to the circuit.
I have to draw the diode circuit, starting from the input and output voltage graph, and calculate its function:
The Vo voltage is the one of R3.
Vi >= 0.7V, D1 is ON and D2 is OFF.
R1 = 3/2 * R3.
Vi <= -0.7V, D1 is OFF and D2 is ON.
R2 = 2 * R3.
EDIT: there is an error here and in the graph,
R2 = R3/2
-0.7V <= Vi <= 0.7V, they are both OFF.
I cannot understand how it is possible to have, as required by the exercise, a positive output voltage when the input voltage is negative.