summaryrefslogtreecommitdiff
path: root/2582/CH3/EX3.8/Ex3_8.sce
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.8/Ex3_8.sce
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.8/Ex3_8.sce')
-rwxr-xr-x2582/CH3/EX3.8/Ex3_8.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2582/CH3/EX3.8/Ex3_8.sce b/2582/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..0724b65b6
--- /dev/null
+++ b/2582/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,17 @@
+//Ex 3.8
+clc;clear;close;
+format('v',6);
+fo=2;//kHz
+alfa=1.414;//for butterworth filter
+Ap=3-alfa;//band pass gain
+RfBYRi=(Ap-1);//op-amp gain
+C=0.05;//micro F(Assumed)
+R=1/(2*%pi*fo*10^3*C*10^-6)/1000;//kohm
+//For offset minimization 2*R=Rf||Ri
+Rf=2*R*RfBYRi+2*R;//kohm
+Ri=Rf/RfBYRi;//kohm
+disp("Design values are :");
+disp(C,"Capacitance C(micro F)");
+disp(R,"Resistance R(kohm)");
+disp(Rf,"Resistance Rf(kohm)");
+disp(Ri,"Resistance Ri(kohm)");