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 /226/CH17/EX17.4/example4_sce.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 '226/CH17/EX17.4/example4_sce.sce')
-rwxr-xr-x | 226/CH17/EX17.4/example4_sce.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/226/CH17/EX17.4/example4_sce.sce b/226/CH17/EX17.4/example4_sce.sce new file mode 100755 index 000000000..b9f09c63a --- /dev/null +++ b/226/CH17/EX17.4/example4_sce.sce @@ -0,0 +1,17 @@ +//chapter 17
+//example 17.4
+//page 724
+printf("\n")
+printf("given")
+f=1*10^3;Ib=500*10^-9;
+disp("butterworth second order filter")
+R=(70*10^-3)/Ib
+R1=R/2
+R1=68.1*10^3;//use standard value
+R2=R1;
+R3=2*R1
+Xc1=sqrt(2)*R2
+C1=1/(2*3.14*f*sqrt(2)*R2)
+C2=2*C1
+fc=1/(2*3.14*(sqrt(R1*R2*C1*C2)));
+printf("actual cutoff frequency is %dHz\n",fc)
\ No newline at end of file |