summaryrefslogtreecommitdiff
path: root/3504/CH2/EX2.14/Ex2_14.sce
blob: 139a0f270b0f1ba23913377e79b5358f25be94a6 (plain)
1
2
3
4
5
6
7
8
//To determine the current through load resistor R of the given circuit.
clc;
Z=[1+%i*1-%i*1+2  -2;-2  2+1]
D=det(Z)
Z_2=[3  1+%i*1;-2  0]
D_2=det(Z_2)
I_2=D_2/D
disp(I_2,'Current through load resistor R(Polar form)')