summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.112/EX2_112.sce
blob: 8cbbe25a4efb733523a536c5cb6aca7d4752d816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
            //EXAMPLE 2-112        PG NO-148
I=5;
R=25;
Z=50;
Z1=40;
R1=[Z^2-R^2-1600]/50;
disp('i) RESISTANCE  (R1) is    =  '+string (R1) +' ohm ')
X1=[1600-R1^2]^0.5;
disp('ii) INDUCTANCE  (X1) is    =  '+string (X1) +' ohm ')
Pc=I*I*R1;
disp('iii)  Power (Pc) is     =  '+string (Pc) +'  W ');
P=I*I*(R+R1);
disp('iv)  Power (P) is    =  '+string (P) +'  W ');