summaryrefslogtreecommitdiff
path: root/2210/CH5/EX5.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2210/CH5/EX5.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2210/CH5/EX5.6')
-rwxr-xr-x2210/CH5/EX5.6/5_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2210/CH5/EX5.6/5_6.sce b/2210/CH5/EX5.6/5_6.sce
new file mode 100755
index 000000000..c88831666
--- /dev/null
+++ b/2210/CH5/EX5.6/5_6.sce
@@ -0,0 +1,22 @@
+//Chapter 5, Problem 6
+clc
+z0=50 //characteristic impedance in ohm
+fp=500*10^6 //passband limit frequency in hertz
+
+//Butterworth normalised values
+g1=1/0.618
+g2=1/1.618
+g3=1/2
+g4=1/1.618
+g5=1/0.618
+w=2*%pi*fp
+
+//calculation of component values
+l1=g1*z0/(w)
+c2=g2/(w*z0)
+l3=g3*z0/w
+c4=g4/(w*z0)
+l5=g5*z0/(w)
+
+printf("Component values are\n\tL1 = %.2f nH",l1*10^9)
+printf("\n\tC2 = %.2f pF\n\tL3 = %.2f nH\n\tC4 = %.2f pF\n\tL5 = %.2f nH",c2*10^12,l3*10^9,c4*10^12,l5*10^9)