Which of the code snippets below match the following flowchart?
Determine the voltage VAD.
Use the voltage divider rule to find the voltage drop across the 5 Ohm resistor.
Use the voltage divider rule to find the voltage VAB.
Find the indicated voltage, VAB.
What is the total power dissipated in the circuit?