summaryrefslogtreecommitdiff
path: root/1109/CH11/EX11.10/11_10.sce
blob: 19d7c568a51a82ea045b81f20bc0aed798d8e4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear;
clc; //solved using the value of w used in the solution
Rl=1000;Xg=250+(%i*200);w=2*(10^6);
Rg=real(Xg);
X1=sqrt(Rg*Rl);
X2=X1;
X3=X1;
C3=1/(w*X3);
printf("-C3 = %d pf\n",C3*(10^12));
L1=X1/w;
printf("-L1 = %d micro-henry\n",L1*(10^6));
L2=X2/w;
Xc=-%i*imag(Xg);
X21=X2+(Xc/%i);
L21=X21/w;
printf("-L2 = %d micro-henry",L21*(10^6));