summaryrefslogtreecommitdiff
path: root/1760/CH7/EX7.2/EX7_2.sce
blob: 466204c7cabed2d598f63847feb966c3455b3184 (plain)
1
2
3
4
5
6
7
8
9
10
11
                                     //EXAMPLE 7-2    PG NO-437-438
Z11=99+%i*99;
Z12=-%i*100;
Z21=20-%i*102.26;
Z22=90.06-%i*120;
Z1=Z11-Z12;
disp('i) Impedance (Z1) is  in rectangular form  =  '+string (Z1) +'ohm ');
Z2=Z22-Z12;
disp('ii) Impedance (Z2) is  in rectangular form  =  '+string (Z2) +'ohm ');
Z3=Z21-Z12;
disp('iii) Impedance (Z3) is  in rectangular   form  =  '+string (Z3) +'ohm ');