# $V_o$ in this simple circuit with 2 diodes and 3 batteries

Take $V_{d (on)}$ to be 0.6V for simplicity.

What's $V_o$? Is it voltage across 1K Resistor?

So... what's the direction of current flow in the 1k resistor? Is it away from BAT3 towards $V_o$?

How do two diodes and two batteries (BAT1 and BAT2) being in parallel would affect $V_o?$

...

I think $V_o$ is voltage across R1 which is $10V - i \cdot 1K - V_d - 9V = 0$

$i_{R1} \cdot 1K = V_{R1} = 10V - V_d - 9V = 10 - 0.6 - 9 = 0.3V$

KVL loop.

But if BAT3 was 5V, then what would be $V_o$?

I know that in this case, current has to go from diodes towards BAT3, right?

Do I just look at one "branch" to calculate $V_o$? For instance, the branch with upper diode, D1.

KVL loop 1:

So Vo = 9V + 0.6V - 5V ??