summaryrefslogtreecommitdiff
path: root/3630/CH18/EX18.1/Ex18_1.sce
blob: 3c9e993e4778b22d1e4ed021112dc3e2ac1fc477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc;
c1=0.0000000033;
c2=0.0000001;
L=0.000047;
cT=(c1*c2)/(c1+c2);
fr=1/(2*3.14*(L*cT)^0.5);
Xc1=117; //for fr value
Xc2=3.87;
av1=Xc2/Xc1;
av2=c1/c2;
disp('using equation 18.3',av1,"av1=");//The answers vary due to round off error
disp('using equation 18.4',av2,"av2=");//The answers vary due to round off error