PART A AND B EQUATIONS: 1) 45i1 - 5i2 - 10i3 = -130 2) - 5i1 + 11i2 - 4i3 = -106
ID: 2084646 • Letter: P
Question
PART A AND B EQUATIONS: 1) 45i1 - 5i2 - 10i3 = -130 2) - 5i1 + 11i2 - 4i3 = -106 3) - 10i1 - 4i2 + 34i3 = 0 I JUST NEED PART C
Mesh equations (30 pts): For problem 4.34 4.36 in the textbook: A. Draw the circuit with clockwise mesh currents labeled. Write mesh equations to solve for Ii, I2, and I (do not solve the equations yet). Sin Ax = b form B. Arrange the equations in Axb form C. Write a MATLAB program (with comments as described above) to solve the equations using x Alb. (Answers: 1,--44.AHg4HAHai 36gA l,--5 A, 12--3 A, I,--13 A) D. Submit your hand calculations from parts A and B along with a copy of the MATLAB program and the results from running the MATLAB program.Explanation / Answer
Matlab Script:
A = [45 -5 -10;-5 11 -4;-10 -4 34];%writing linear equations in matrix form
b = [-130;-106;0];%writing b matrix it should be column vector
I = A;
command window output:
>> A
A =
45 -5 -10
-5 11 -4
-10 -4 34
>> b
b =
-130
-106
0
>> A
ans =
-5.0000
-13.0000
-3.0000
>>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.