From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 317/CH16/EX16.1/example1.sce | 25 +++++++++++++++++++++++++ 317/CH16/EX16.1/example1.txt | 2 ++ 2 files changed, 27 insertions(+) create mode 100755 317/CH16/EX16.1/example1.sce create mode 100755 317/CH16/EX16.1/example1.txt (limited to '317/CH16/EX16.1') 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 -- cgit