diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /929/CH3/EX3.16/Example3_16.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '929/CH3/EX3.16/Example3_16.sce')
-rwxr-xr-x | 929/CH3/EX3.16/Example3_16.sce | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/929/CH3/EX3.16/Example3_16.sce b/929/CH3/EX3.16/Example3_16.sce new file mode 100755 index 000000000..03c69f5fa --- /dev/null +++ b/929/CH3/EX3.16/Example3_16.sce @@ -0,0 +1,45 @@ +//Example 3.16
+
+clear;
+
+clc;
+
+H0=2;
+
+f0=10*10^3;
+
+Q=4;
+
+nmin=4*(Q^2)*(1+H0);
+
+n=nmin+8;//Assuming n=nmin+8
+
+C2=1*10^(-9);//Assuming C2
+
+C1=C2*n;
+
+R3num1=nmin/n;
+
+R3num2=(1-R3num1)^(1/2);
+
+R3num=1+R3num2;
+
+R3den=2*2*%pi*f0*Q*C2;
+
+R3=R3num/R3den;
+
+R1=R3/H0;
+
+R2=1/(((2*%pi*f0)^2)*R3*C1*C2);
+
+printf("Designed Multiple Feedback Low Pass Filter :")
+
+printf("\nR1=%.2f kohms",R1*10^(-3));
+
+printf("\nR2=%.2f ohms",R2);//Answer in textbook is wrong
+
+printf("\nR3=%.2f kohms",R3*10^(-3));
+
+printf("\nC1=%.2f uF",C1*10^(6));
+
+printf("\nC2=%.2f nF",C2*10^(9));
\ No newline at end of file |