summaryrefslogtreecommitdiff
path: root/317/CH16/EX16.1
diff options
context:
space:
mode:
Diffstat (limited to '317/CH16/EX16.1')
-rwxr-xr-x317/CH16/EX16.1/example1.sce25
-rwxr-xr-x317/CH16/EX16.1/example1.txt2
2 files changed, 27 insertions, 0 deletions
diff --git a/317/CH16/EX16.1/example1.sce b/317/CH16/EX16.1/example1.sce
new file mode 100755
index 000000000..8e18e66f6
--- /dev/null
+++ b/317/CH16/EX16.1/example1.sce
@@ -0,0 +1,25 @@
+// calculate voltage gain of ac amplifier
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 16-1, page 567
+
+clear; clc; close;
+
+// Given data
+f1=20;// cutoff frequency in hertz
+f2=20*10^3;// cutoff frequency in hertz
+fin1=5;// input frequency in hertz
+fin2=200*10^3;// input frequency in hertz
+Avmid=200;// midband voltage gain
+
+// Calculations
+Av1=Avmid/((1+((f1/fin1)^2))^0.5)// Voltage gain for input frequency below midband
+Av2=Avmid*1/((1+((fin2/f2)^2))^0.5); // Voltage gain for input frequency above midband
+disp(Av1,"Voltage gain for input frequency below midband")
+disp(Av2,"Voltage gain or input frequency above midband")
+
+// Result
+// Voltage gain for an input frequency of 5 Hertz is 48.5
+// Voltage gain for an input frequency of 20 KHertz is 19.9 \ No newline at end of file
diff --git a/317/CH16/EX16.1/example1.txt b/317/CH16/EX16.1/example1.txt
new file mode 100755
index 000000000..12fd3735d
--- /dev/null
+++ b/317/CH16/EX16.1/example1.txt
@@ -0,0 +1,2 @@
+Voltage gain for an input frequency of 5 Hertz is 48.5
+Voltage gain for an input frequency of 20 KHertz is 19.9 \ No newline at end of file