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.17 | |
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.17')
-rwxr-xr-x | 929/CH3/EX3.17/Example3_17.sce | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/929/CH3/EX3.17/Example3_17.sce b/929/CH3/EX3.17/Example3_17.sce new file mode 100755 index 000000000..5696f052b --- /dev/null +++ b/929/CH3/EX3.17/Example3_17.sce @@ -0,0 +1,47 @@ +//Example 3.17
+
+clear;
+
+clc;
+
+f0=1*10^3;
+
+Q=10;
+
+HondB=0;
+
+Hon=10^(HondB/20);
+
+C=10*10^(-9);//Assuming C=10 nF
+
+C1=C;
+
+C2=C;
+
+R3=10*10^3;
+
+R4=R3/Hon;
+
+R5=Hon*R4;
+
+R2=(2*Q)/(2*%pi*f0*C);
+
+R1A=Q/(Hon*2*%pi*f0*C);
+
+R1B=R1A/((2*Q^2/Hon)-1);
+
+printf("Designed Multiple Feedback Notch Filter :");
+
+printf("\nR1A=%.2f kohms",R1A*10^(-3));
+
+printf("\nR1B=%.2f ohms",R1B);
+
+printf("\nR2=%.2f kohms",R2*10^(-3));
+
+printf("\nR3=%.2f kohms",R3*10^(-3));
+
+printf("\nR4=%.2f kohms",R4*10^(-3));
+
+printf("\nR5=%.2f kohms",R5*10^(-3));
+
+printf("\nC1=C2=%.2f nF",C*10^9);
\ No newline at end of file |