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.11.a | |
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.11.a')
-rwxr-xr-x | 929/CH3/EX3.11.a/Example3_11_a.sce | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/929/CH3/EX3.11.a/Example3_11_a.sce b/929/CH3/EX3.11.a/Example3_11_a.sce new file mode 100755 index 000000000..92c8228d2 --- /dev/null +++ b/929/CH3/EX3.11.a/Example3_11_a.sce @@ -0,0 +1,39 @@ +//Example 3.11(a)
+
+clear;
+
+clc;
+
+m=1;//Q is maximised at m=1
+
+n=2;//Order of filter
+
+f0=10*10^(3);
+
+Qnum=(m*n)^(1/2);
+
+Qden=m+1;
+
+Q=Qnum/Qden;
+
+C=1*10^(-9);//Assuming C=1 nF
+
+C2=C;
+
+C1=n*C;
+
+R=1/(Qnum*C*2*%pi*f0);
+
+R2=R;
+
+R1=m*R;
+
+printf("Designed Second Order Low Pass Butterworth Filter :")
+
+printf("\nR1=%.2f kohms",R1*10^(-3));
+
+printf("\nR2=%.2f kohms",R2*10^(-3));
+
+printf("\nC1=%.f nF",C1*10^9);
+
+printf("\nC2=%.f nF",C2*10^9);
\ No newline at end of file |