of 2
1
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis
Solve the system using the following methods.
(a) Use the user-defined function GaussJordan that
was developed in Problem 4.22.
(b) Use MATLAB’s built-in functions.
-2 0 0 7 -3; 0 -5 -4 -3 12];
b=[12; -16; 14; 10; -30];
disp('Part (a)')
-4.6671
_
+
30 V
2 Ω
_
5i2
–4i3
–3i4
–12i5
+30=
2
-4.6671