summaryrefslogtreecommitdiff
path: root/3673/CH7/EX7.a.18/Example_a_7_18.sce
blob: 0c4834b8a3b5ef0c4a9bfc0df0f1d9190a8b12ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example_a_7_18 page no:285
clc;
Vimag=10;
Viang=0;
Iscmag=9;
Iscang=90;
Vocmag=9*Vimag;
Vocang=Viang;
Zthmag=Vocmag/Iscmag;
Zthang=Vocang-Iscang;
Imag=Vocmag/8;
Iang=Vocang-(-90);
disp(Imag,"the magnitude of current passing through 2i ohm resistor is (in A)");
disp(Iang,"the angle of current passing through 2i ohm resistor is (in degree)");