summaryrefslogtreecommitdiff
path: root/3673/CH2/EX2.a.16/Example_a_2_16.sce
blob: 1cbc024c9ce47461bd997e45f3a200dc144831d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 2_16 page no:99
clc; 
A=[10,5,4,
    1,-1,0,
    -2,-1,1];
B=[35,
    2,
    0];
X=inv(A)*B;
I1=X(1);
disp(I1,"the current in the 10 ohm resistor is (in A)");