Question: Using Matlab The circuit shown below has five resistances and two applied voltages. The positive directions of current flow are in the directions shown in
Using Matlab
The circuit shown below has five resistances and two applied voltages. The positive directions of current flow are in the directions shown in the figure. Kirchoffs voltage law applied to each loop in the circuit gives



conservation of charge applied at each node in the circuit gives


you can use these two equations to eliminate
and
from the first three equations. The result is



thuswe have three equations in the three unknowns
,
, and
. Write a Matlab script file that uses given values of the applied voltage
and
and given values of the fives resistances to solve the currents
,
, and
. Use the program to find the currents for the case
,
,
,
, and
kOhm and
= 100 and
= 50V.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
