diff options
Diffstat (limited to '2210/CH5/EX5.8/5_8.sce')
-rwxr-xr-x | 2210/CH5/EX5.8/5_8.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2210/CH5/EX5.8/5_8.sce b/2210/CH5/EX5.8/5_8.sce new file mode 100755 index 000000000..64349f9ae --- /dev/null +++ b/2210/CH5/EX5.8/5_8.sce @@ -0,0 +1,26 @@ +//Chapter 5, Problem 8
+clc
+z0=50 //characteristic impedance in ohm
+fb=525e6
+fa=475e6
+fp=fb-fa //passband limit frequency in hertz
+
+f0=sqrt(fb*fa)
+
+//Butterworth normalised values
+g1=0.618
+g2=1.618
+g3=2
+g4=1.618
+g5=0.618
+w=2*%pi*fp
+
+//calculation of component values
+c1=g1/(w*z0)
+l2=g2*z0/w
+c3=g3/(w*z0)
+l4=g4*z0/w
+c5=g5/(w*z0)
+
+printf("Component values are\n\tC1 = %.2f pF",c1*10^12)
+printf("\n\tL2 = %.2f nH\n\tC3 = %.2f pF\n\tL4 = %.2f nH\n\tC5 = %.2f pF",l2*10^9,c3*10^12,l4*10^9,c5*10^12)
|