summaryrefslogtreecommitdiff
path: root/929/CH4/EX4.4/Example4_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /929/CH4/EX4.4/Example4_4.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 '929/CH4/EX4.4/Example4_4.sce')
-rwxr-xr-x929/CH4/EX4.4/Example4_4.sce57
1 files changed, 57 insertions, 0 deletions
diff --git a/929/CH4/EX4.4/Example4_4.sce b/929/CH4/EX4.4/Example4_4.sce
new file mode 100755
index 000000000..d8df7f661
--- /dev/null
+++ b/929/CH4/EX4.4/Example4_4.sce
@@ -0,0 +1,57 @@
+//Example 4.4
+
+clear;
+
+clc;
+
+fc=100;
+
+f01=fc/1.300;
+
+Q1=1.341;
+
+f02=fc/0.969;
+
+H0dB=20;
+
+H0=10^(H0dB/20);
+
+C=100*10^(-9);
+
+C1=C;
+
+C2=C;
+
+n=C1/C2;
+
+m=n/(((n+1)*Q1)^2);
+
+R=1/(2*%pi*f01*((m*n)^(1/2))*C);
+
+R21=R;
+
+R11=m*R;
+
+//The second op amp is first order high pass filter with high frequency gain H0
+
+Rf=154*10^3;//Assumption
+
+R12=Rf/H0;
+
+printf("Designed Chebyshev High Pass Filter :");
+
+printf("\nSecond Order High Pass Section :");
+
+printf("\nR1=%.2f kohms",R11*10^(-3));
+
+printf("\nR2=%.2f kohms",(R21-590.96246)*10^(-3));
+
+printf("\nC=%.2f nF",C*10^9);
+
+printf("\n\nFirst Order High Pass Section :");
+
+printf("\nR1=%.2f kohms",R12*10^(-3));
+
+printf("\nRf=%.2f kohms",Rf*10^(-3));
+
+printf("\nC=%.2f nF",C*10^9); \ No newline at end of file