summaryrefslogtreecommitdiff
path: root/1760/CH4/EX4.13/EX4_13.sce
blob: f7bfc4d6a10a55ae19e63bd9a610f62d4fae8efb (plain)
1
2
3
4
5
6
7
8
                           //Example       4-13             PG NO-235
X=[1 -0.5  2;-0.5 3.5 -4;-0.5 -1 0];
X1=[2 -0.5 -0.5;-4   3.5 -1;0 -1 2.5 ]
X2=[1 -0.5 -0.5;-0.5 3.5 -1;-0.5 -1 2.5];
V=det([X1-X]/X2);                          //V=VA-VC
disp('i) VOLTAGE (V)   is     =  '+string (V) +' V ');
I2=0.5*1.566;
disp('i) Current (I2)   is     =  '+string (I2) +' A    ');