summaryrefslogtreecommitdiff
path: root/226/CH17/EX17.7/example7_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH17/EX17.7/example7_sce.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 '226/CH17/EX17.7/example7_sce.sce')
-rwxr-xr-x226/CH17/EX17.7/example7_sce.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/226/CH17/EX17.7/example7_sce.sce b/226/CH17/EX17.7/example7_sce.sce
new file mode 100755
index 000000000..f9809e2ef
--- /dev/null
+++ b/226/CH17/EX17.7/example7_sce.sce
@@ -0,0 +1,21 @@
+//chapter 17
+//example 17.7
+//page 730
+printf("\n")
+printf("given")
+f=20*10^3;
+disp("3rd order high pass filter")
+disp("-20dB per decade stage")
+R1=121*10^3;
+fc1=.65*f
+C1=1/(2*3.14*fc1*R1)
+//this is so small it might be effected by stray capacitor.redesign ,first choosing a suitable capacitance C1
+C1=100*10^-12;
+R1=1/(2*3.14*f*C1)
+R2=R1;
+disp("-40dB per decade stage")
+C3=1000*10^-12;
+R4=(sqrt(2))/(2*3.14*.8*f*C3)
+C2=C3;
+R3=.5*R4
+R5=R4 \ No newline at end of file