summaryrefslogtreecommitdiff
path: root/2582/CH3/EX3.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2582/CH3/EX3.7
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 '2582/CH3/EX3.7')
-rwxr-xr-x2582/CH3/EX3.7/Ex3_7.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2582/CH3/EX3.7/Ex3_7.sce b/2582/CH3/EX3.7/Ex3_7.sce
new file mode 100755
index 000000000..40b63327c
--- /dev/null
+++ b/2582/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,22 @@
+//Ex 3.7
+clc;clear;close;
+format('v',6);
+fo=3;//kHz
+Ap=4;//Band pass gain
+alfa=1.414;//for butterworth filter
+C1=0.01;//micro F(Assumed)
+C2=alfa^2*C1/4;//micro F
+R=1/(2*%pi*fo*10^3*sqrt(C1*10^-6*C2*10^-6))/1000;//kohm
+Rf=2*R;//kohm(Assumed)
+disp("Design values are :");
+disp(C1,"Capacitance C1(micro F)");
+disp(C2,"Capacitance C2(micro F)");
+disp(R,"Resistance R(kohm)");
+disp(Rf,"For offset minimization, Resistance Rf(kohm)");
+///For additional pass band gain
+Ri=10;//kohm(Assumed)
+Rf=(Ap-1)*Ri;//kohm
+disp("For additional band pass gain:");
+disp(Ri,"Resistance Ri(kohm)");
+disp(Rf,"Resistance Rf(kohm)");
+//Answer in the book is not accurate.