Question

R611 + R1(11 – 12) + R2(11 – 13) = V1 R312 + R4(12 – 13) + Ri(12 – I1) = V2 R513 + R4(13 – 12) + R2(13 – 11) = V3.

= = 2012, R3 512, R4 = 1512, R5 = Let the resistances be given by Ri 1012, R2 want to calculate the currents 11, 12, and 13.

using MatLab

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)

I1*(R6+R1+R2) +I2*(-R1)+I3*(-R2) = V1

I1*(-R1)+I2*(R4+R3+R1)+I3*(-R4) = V2

I1*(-R2) + I2*(-R4) +I3*(R2+R4+R5) =V3

Hence the matrix can be formed as-

\begin{bmatrix} R6+R1+R2 &-R1 & -R2\\ -R1 & R4+R3+R1 &-R4 \\ -R2 &-R4 &R5+R4+R2 \end{bmatrix}*\begin{bmatrix} I1\\ I2\\ I3 \end{bmatrix}=\begin{bmatrix} V1\\ V2\\ V3 \end{bmatrix}

b)

code-

% %Part (a)
R1=10;
R2=20;
R3=5;
R4=15;
R5=30;
R6=25;
A=[R6+R1+R2 -R1 -R3 ;-R1 R3+R4+R1 -R4 ;-R2 -R4 R5+R4+R2]
[L ,U ,P] = lu(A)
A1 = U*P*L;

%Part (b)
V1 =50;
V2 =0;
i=1;

for V3b=1:1:100

B = [V1 ;V2 ;V3b];
Y = inv(L) *B;
X = inv(U) *Y ; %Solving AX =B where X = current vector[I1 ;I2 ;I3]
I2b(1,i) = X(2,1);
i=i+1;
end
disp('I2b=')
for i =1:100
disp(I2b(1,i)) %The required vector I2 from Part c (Inverse)
end %The required vector I2 from Part b (LU decomposition)

%Part c
j=1;

for V3c =1:1:100
  
B1 = [V1 ;V2 ;V3c];
I = inv(A)*B1;
I2c(1,j) =I(2,1);
j=j+1;
end

disp('I2c=')
for j =1:100
disp(I2c(1,j)); %The required vector I2 from Part c (Inverse)
end

disp('I2c-I2b=')
for i=1:100
A3(1,i) = I2c(1,i)-I2b(1,i);

end
A3

Result-

Add a comment
Know the answer?
Add Answer to:
using MatLab R611 + R1(11 – 12) + R2(11 – 13) = V1 R312 + R4(12...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • ri R$ 7:) Here, each V represents a change in voltage (in volts) at a battery,...

    ri R$ 7:) Here, each V represents a change in voltage (in volts) at a battery, each R represents a resistance (in ohms) at a resistor and each I represents a current (in amps) through a wire. These quantities obey two simple laws: 1. Ohm's law: The voltage drop across a resistor is V = IR. 2. Kirchhoff's second law: The sum of all the voltage changes in a closed loop is zero. Using these two laws, we can construct...

  • MATLAB MATLAB MATLAB Consider the diagram below V R$ Here, each V represents a change in...

    MATLAB MATLAB MATLAB Consider the diagram below V R$ Here, each V represents a change in voltage (in volts) at a battery, each R represents a resistance in ohms) at a resistor and each I represents a current (in amps) through a wire. These quantities obey two simple laws: 1. Ohm's law: The voltage drop across a resistor is V = IR. 2. Kirchhoff's second law: The sum of all the voltage changes in a closed loop is zero. Using...

  • 4) find 11, 12, 13, V2, and V3 {R1 V2 {R2 V1:6 R1 : 300 2...

    4) find 11, 12, 13, V2, and V3 {R1 V2 {R2 V1:6 R1 : 300 2 R2: 1.7 KS2 Ans 1 5) calculate the unknown resistance Rx, when V, the voltage across the bridge is 0 in the below Wheatstone bridge RI: 100 2 R2: 4002 R3 : 250 2 Ans Rx 6) write down in detail what was your contribution in the Physics experiment show me one of the experiments you did in the lab

  • V1 R7 R9 12V R3 R8 R11 R1 R2 R10 13 5A R6 R4 12 1A...

    V1 R7 R9 12V R3 R8 R11 R1 R2 R10 13 5A R6 R4 12 1A 10A 14 R5 R12 7A V3 12V 15 8A V2 12V For the circuit shown in the above figure 1) Calculate the currents in the voltage sources V2 and V3 2) Calculate the current in the resistor R12.

  • calculate voltage v1,v2,v3 and VS r1=1k r2=2k r3=3.9k r4=5.6k Tabla 3-1 Resultados de Divisor de Voltaje...

    calculate voltage v1,v2,v3 and VS r1=1k r2=2k r3=3.9k r4=5.6k Tabla 3-1 Resultados de Divisor de Voltaje Ri - R3 RSUM Valor 0.98k r snike 3.82k ? Medido Voltajes V1 V2 V3 VSUM Calculados Voltajes V2 VSUM Medidos I 1.130 6.57V 4.39V I 12.000 VI V3 m Vn Iv> | 12 | Ts / Id Ous SR2 3 R3 RA I 2 = Un R2 Is=Izt IstJA Vs. Un On A Un ton R1 R ik un (12V) 1926 - RIAL...

  • Given the circuit on the diagram below with R1 = 6 kΩ, R2 = 13 kΩ,...

    Given the circuit on the diagram below with R1 = 6 kΩ, R2 = 13 kΩ, R3 = 11 kΩ and R4 = 9 kΩ. Using current and voltage division, find I1, I2, I3, and I4 , and also the voltages across the resistors (V1, V2, V3, and V4) when: Vs= 6 − 3cos100t V

  • can anyone help with this? R1 R3 IkΩ 1kΩ. R2 2kQ R4 510 E1 9V V1...

    can anyone help with this? R1 R3 IkΩ 1kΩ. R2 2kQ R4 510 E1 9V V1 V3 R1 R3 A1 A3 1k2 lkQ A2 A4 SR2 SR4 510 2 V4 V2 9V E1 2kn tho reltago VE across the battery in the appropriate column of Item W Item-3: Pspice L Build your circuit in Orcad Pspice and measure the appropriate voltages and currents in the simulation. Some values may need to be interpreted from the simulation results (such as the...

  • 4 A 8 A V- 12 59. Given Ri > R2, what is the relationship between V1 and V2? d. No conclusion can be made Given R1 > R2, what is the relationship between I, and 12? b 11 12 c. 1, >12 d....

    4 A 8 A V- 12 59. Given Ri > R2, what is the relationship between V1 and V2? d. No conclusion can be made Given R1 > R2, what is the relationship between I, and 12? b 11 12 c. 1, >12 d. No conclusion can be made Which of the following is a valid equation? b. 12 11-4A 121 d 12 12A-1 e 12 11-12A 4 A 8 A V- 12 59. Given Ri > R2, what is...

  • (1 point) For the circuit below, V1 = 13 V, V2 = 8 V, V3 =...

    (1 point) For the circuit below, V1 = 13 V, V2 = 8 V, V3 = -2 V. L1 = 22 mH, L2 = 18 mH, L3 = 46 mH. R1 = 22 12, R2 = 26 12, R3 = 25 12, R4 = 8 12, R5 = 47 12, R6 = 22 12, Find (a) i1, (b) i2, (C) v. 1+ RG V2 min to-rööviz w ell + V3 Zamo 2013 Paul Hummel BY NC SA (A) 11 =...

  • Need Help on Matlab matrix system. Have your code return the solution x and show this...

    Need Help on Matlab matrix system. Have your code return the solution x and show this solution in a command prompt printout. Note that you can, of course, check your answer easily with the Matlab backslash command, A\b. Naive LU Decomposition Now, starting with your functioning Gauss Elimination code, modify it to keep the factors in the same matrix that it is passed. You of course will not modify the b-vector. Have this code return the L and U matrices...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT