The circuit shown in Figure P4 has five resistances and one applied voltage. Kirchhoff’s voltage law applied to each loop in the circuit shown gives
Figure P4
Conservation of charge applied at each node in the circuit gives
a. Write a MATLAB script le that uses given values of the applied voltage and the values of the five resistances and solves for the six currents.
b. Use the program developed in part a to find the currents for the case where R1 = 1, R2 = 5, R3 = 2, R4 = 10, R5 = 5 kΩ, and υ = 100 V.