If we considered the Diodes states to be:
D1 : OFF
D2: ON
D3:OFF
Now if we apply KVL on the closed loop, will it look like this?
-Vout +Vout -4 v+ Vin =0
Knowing that the volatge across R3 is +Vout
My confusion is that I2 has to pass through the positive terminal of R2 (since a resistor absorbs energy and if current passes through negative terminal of an element this means the element is producing energy which is not possible for the resistor to do since it is a passive component and not an active one) Thus, if I2 is passing in the direction indicated in the image, it has passed through the negative terminal of the V of R3 which is Vout which cancels out Vout from the KVL. Is there anything wrong with my thinking/approach?
Thank you