summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.32/ex_32.sce
blob: 3afc369930e346c041a51f2650267778e260e6e5 (plain)
1
2
3
4
A=[0,6,-2;3,4,1;1,2,-4]           //Matrix of I1,I2,I3 Coeffecients by KVL equations
B=[9;24;-4];
[I]=inv(A)*B;
disp("Amperes",I(2,1),"Current in 20 Ohm resistor");