summaryrefslogtreecommitdiff
path: root/317/CH8
diff options
context:
space:
mode:
Diffstat (limited to '317/CH8')
-rwxr-xr-x317/CH8/EX8.1/example1.sce29
-rwxr-xr-x317/CH8/EX8.1/example1.txt1
-rwxr-xr-x317/CH8/EX8.3/example3.sce27
-rwxr-xr-x317/CH8/EX8.3/example3.txt1
-rwxr-xr-x317/CH8/EX8.4/example4.sce31
-rwxr-xr-x317/CH8/EX8.4/example4.txt1
-rwxr-xr-x317/CH8/EX8.5/example5.sce24
-rwxr-xr-x317/CH8/EX8.5/example5.txt1
-rwxr-xr-x317/CH8/EX8.6/example6.sce23
-rwxr-xr-x317/CH8/EX8.6/example6.txt1
-rwxr-xr-x317/CH8/EX8.7/example7.sce33
-rwxr-xr-x317/CH8/EX8.7/example7.txt3
12 files changed, 175 insertions, 0 deletions
diff --git a/317/CH8/EX8.1/example1.sce b/317/CH8/EX8.1/example1.sce
new file mode 100755
index 000000000..92e04874b
--- /dev/null
+++ b/317/CH8/EX8.1/example1.sce
@@ -0,0 +1,29 @@
+// calculate the collector-emmitter voltage
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-1, page 263
+
+clear;clc; close;
+
+// Given data
+
+Vcc=10;// collector supply voltage in volts
+R1=10*10^3;// in ohms
+R2=2.2*10^3;// in ohms
+Rc=3.6*10^3;// collector resistance
+Re=1*10^3;// emitter resistance
+
+// Calculations
+
+Vbb=R2*Vcc/(R1+R2);// base voltage in ohms
+Ve=Vbb-0.7;// emitter voltage
+Ie=Ve/Re;// emitter current in amperes
+Ic=Ie;// collector current is approximately equal to emitter current
+Vc=Vcc-(Ic*Rc);// collector-to-ground voltage in volts
+Vce=Vc-Ve;// collector-emitter voltage in volts
+disp("Volts",Vce,"Collector-Emitter Voltage")
+
+// Result
+// collector-emitter voltage is 4.92 volts.
diff --git a/317/CH8/EX8.1/example1.txt b/317/CH8/EX8.1/example1.txt
new file mode 100755
index 000000000..dfb7fba01
--- /dev/null
+++ b/317/CH8/EX8.1/example1.txt
@@ -0,0 +1 @@
+Collector-emitter voltage is 4.92 volts.
diff --git a/317/CH8/EX8.3/example3.sce b/317/CH8/EX8.3/example3.sce
new file mode 100755
index 000000000..eaf1d17c1
--- /dev/null
+++ b/317/CH8/EX8.3/example3.sce
@@ -0,0 +1,27 @@
+// find emitter current
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-3, page 266
+
+clear;clc; close;
+
+// Given data
+R1=10*10^3;// in ohms
+R2=2.2*10^3;// in ohms
+Rc=3.6*10^3;// in ohms
+Re=1*10^3;// in ohms
+Bdc=200;// current gain
+Vbb=1.8;// base supply voltage in volts
+Vbe=0.7;// voltage across emitter in volts
+
+// Calculations
+Rth=(R1*R2)/(R1+R2);// thevenin voltage in volts(R1||R2)
+Rin=Bdc*Re;// input resistance of base
+// as Rth<0.01*Rin, voltage divider is stiff
+Ie=(Vbb-Vbe)/(Re+(Rth/Bdc));// emitter current in amperes
+disp("Amperes",Ie,"Emitter Current")
+
+// Result
+// voltage divider is stiff, emitter current is 1.09 milliamperes
diff --git a/317/CH8/EX8.3/example3.txt b/317/CH8/EX8.3/example3.txt
new file mode 100755
index 000000000..8ba3f87cd
--- /dev/null
+++ b/317/CH8/EX8.3/example3.txt
@@ -0,0 +1 @@
+voltage divider is stiff, emitter current is 1.09 milliamperes
diff --git a/317/CH8/EX8.4/example4.sce b/317/CH8/EX8.4/example4.sce
new file mode 100755
index 000000000..a196a723e
--- /dev/null
+++ b/317/CH8/EX8.4/example4.sce
@@ -0,0 +1,31 @@
+// find resistances to fit in the given VDB design
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-4, page 269
+
+clear;clc; close;
+
+// Given data
+// 2N3904
+Bdc=100;// current gain
+Vcc=10 ;// supply voltage in volts
+Ic=10*10^-3;// collector current in amperes
+
+// Calculations
+Ve=0.1*Vcc;// emitter voltage in volts
+Ie=Ic;// collector current is equal to emitter current
+Re=Ve/Ie;// emitter resistance in ohms
+Rc=4*Re;// collector resistance in ohms
+R2max=0.01*Bdc*Re;// in ohms
+V2=Ve+0.7;// in volts
+V1=Vcc-V2;// in volts
+R1=(V1*R2max)/V2;// in ohms
+disp("Ohms",R1,"R1=")
+disp("Ohms",R2max,"R2=")
+disp("Ohms",Rc," Collector Resistance=")
+disp("Ohms",Re,"Emitter Resistance=")
+
+// Result
+// R1=488 ohms, R2=100 ohms, Rc=400 ohms, Re=100 ohms
diff --git a/317/CH8/EX8.4/example4.txt b/317/CH8/EX8.4/example4.txt
new file mode 100755
index 000000000..63f9e9244
--- /dev/null
+++ b/317/CH8/EX8.4/example4.txt
@@ -0,0 +1 @@
+R1=488 ohms, R2=100 ohms, Rc=400 ohms, Re=100 ohms
diff --git a/317/CH8/EX8.5/example5.sce b/317/CH8/EX8.5/example5.sce
new file mode 100755
index 000000000..bb87cbaae
--- /dev/null
+++ b/317/CH8/EX8.5/example5.sce
@@ -0,0 +1,24 @@
+// find collector voltage
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-5, page 271
+
+clear;clc; close;
+
+// Given data
+Re=1.8*10^3;// emitter current in ohms
+Rc=3.6*10^3;// collector resistance in ohms
+Rb=2.7*10^3;// in ohms
+Vre=1.3;// voltage across the emitter resistor in volts
+Vcc=10;// collector supply voltage in volts
+
+// Calculations
+Ie=Vre/Re;// emitter current in amperes
+Ic=Ie;// collector current is equal to emitter current
+Vc=Vcc-Ic*Rc;// collector voltage in volts
+disp("Volts",Vc,"Collector Voltage")
+
+// Result
+// collector voltage is 7.4 volts
diff --git a/317/CH8/EX8.5/example5.txt b/317/CH8/EX8.5/example5.txt
new file mode 100755
index 000000000..270275d80
--- /dev/null
+++ b/317/CH8/EX8.5/example5.txt
@@ -0,0 +1 @@
+collector voltage is 7.4 volts
diff --git a/317/CH8/EX8.6/example6.sce b/317/CH8/EX8.6/example6.sce
new file mode 100755
index 000000000..606ec29d4
--- /dev/null
+++ b/317/CH8/EX8.6/example6.sce
@@ -0,0 +1,23 @@
+// find collector to ground voltage
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-6, page 271
+
+clear;clc; close;
+
+// Given data
+Vee=15;// in volts
+Vcc=15;// in volts
+Rc=10*10^3;// in ohms
+Re=20*10^3;// in ohms
+
+// Calculations
+Ie=(Vee-0.7)/Re;// emitter current in amperes
+Ic=Ie;// collector current is equal to emitter current
+Vc=Vcc-Ic*Rc;// collector voltage in volts
+disp("Volts",Vc,"Collector Voltage")
+
+// Result
+// collector to ground voltage is 7.85 volts
diff --git a/317/CH8/EX8.6/example6.txt b/317/CH8/EX8.6/example6.txt
new file mode 100755
index 000000000..d58e2e615
--- /dev/null
+++ b/317/CH8/EX8.6/example6.txt
@@ -0,0 +1 @@
+collector to ground voltage is 7.85 volts
diff --git a/317/CH8/EX8.7/example7.sce b/317/CH8/EX8.7/example7.sce
new file mode 100755
index 000000000..2a98eb1ef
--- /dev/null
+++ b/317/CH8/EX8.7/example7.sce
@@ -0,0 +1,33 @@
+// calculate the 3 transistor voltages for pnp circuit
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 8-7, page 278
+
+clear;clc; close;
+
+// Given data
+Vee=10;// in volts
+Vcc=10;// in volts
+Rc=3.6*10^3;// in ohms
+Re=1*10^3;// in ohms
+R1=10*10^3;// in ohms
+R2=2.2*10^3;// in ohms
+
+// Calculations
+V2=(R2/(R2+R1))*Vee;//voltage across R2
+Ve=V2-0.7;// voltage across emitter resistor in volts
+Ie=Ve/Re;// emitter current in amperes
+Ic=Ie;// collector current is equal to emitter current
+Vc=Ic*Rc;// collector-ground voltage in volts
+Vb=Vcc-V2;// base -ground voltage in volts
+Vee=Vcc-Ve;// emitter-ground voltage in volts
+disp("Volts",Vc,"Collector Voltage")
+disp("Volts",Vb,"Base Voltage")
+disp("Volts",Vee,"Emitter Voltage")
+
+// Result
+// collector-ground voltage is 3.96 volts
+// base-ground voltage is 8.2 volts
+// emitter-ground voltage is 8.9 volts
diff --git a/317/CH8/EX8.7/example7.txt b/317/CH8/EX8.7/example7.txt
new file mode 100755
index 000000000..68ec0a0fa
--- /dev/null
+++ b/317/CH8/EX8.7/example7.txt
@@ -0,0 +1,3 @@
+collector-ground voltage is 3.96 volts
+base-ground voltage is 8.2 volts
+emitter-ground voltage is 8.9 volts