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 /317/CH16/EX16.1 | |
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 '317/CH16/EX16.1')
-rwxr-xr-x | 317/CH16/EX16.1/example1.sce | 25 | ||||
-rwxr-xr-x | 317/CH16/EX16.1/example1.txt | 2 |
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 |