summaryrefslogtreecommitdiff
path: root/1757/CH7/EX7.9/EX7_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH7/EX7.9/EX7_9.sce')
-rwxr-xr-x1757/CH7/EX7.9/EX7_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1757/CH7/EX7.9/EX7_9.sce b/1757/CH7/EX7.9/EX7_9.sce
new file mode 100755
index 000000000..71e0ce712
--- /dev/null
+++ b/1757/CH7/EX7.9/EX7_9.sce
@@ -0,0 +1,16 @@
+//Example7.9 // to calculate upper and lower cut-off frequency of the band pass filter
+clc;
+clear;
+close;
+R1 = 10*10^3 ; //K ohm
+R2 = 10 ; //K ohm
+C1 = 0.1*10^-6 ; // uF
+C2 = 0.001 ; //uF
+
+// the lower cut-off frequency of band pass filter is
+fLC = 1/(2*%pi*R1*C1);
+disp('The lower cut-off frequency FLC of band pass filter is = '+string(fLC)+' Hz ');
+
+// The upper cut-off frequency of band pass filter is
+fUC = 1/(2*%pi*R2*C2);
+disp('The upper cut-off frequency FUC of band pass filter is = '+string(fUC)+' KHz ');