summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.16/6_16.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH6/EX6.16/6_16.sci')
-rwxr-xr-x569/CH6/EX6.16/6_16.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/569/CH6/EX6.16/6_16.sci b/569/CH6/EX6.16/6_16.sci
new file mode 100755
index 000000000..4a3e47f27
--- /dev/null
+++ b/569/CH6/EX6.16/6_16.sci
@@ -0,0 +1,12 @@
+// calcuating the passband gain and upper & lower cut off frequencies
+clc;
+R1=10*10^3;
+R2=1*10^6;
+A=R2/(R1+R2);
+disp(A,'gain=')
+C2=(0.01)*10^-6;
+C1=100*10^-12;
+fcl=1/(2*%pi*C2*R2);
+disp(fcl,'lower cut off frequency (Hz)')
+fcu=1/(2*%pi*R1*C1);
+disp(fcu,'upper cut off frequency (Hz)') \ No newline at end of file