summaryrefslogtreecommitdiff
path: root/2459/CH12/EX12.17/Ex12_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH12/EX12.17/Ex12_17.sce')
-rw-r--r--2459/CH12/EX12.17/Ex12_17.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2459/CH12/EX12.17/Ex12_17.sce b/2459/CH12/EX12.17/Ex12_17.sce
new file mode 100644
index 000000000..81fb8181e
--- /dev/null
+++ b/2459/CH12/EX12.17/Ex12_17.sce
@@ -0,0 +1,25 @@
+//chapter12
+//example12.17
+//page253
+
+Vcc=15 // V
+Re=2 // kilo ohm
+Rc=1 // kilo ohm
+gain_beta=100
+Vbe=0.7 // V
+R1=10 // kilo ohm
+R2=5 // kilo ohm
+
+Eo=Vcc*R2/(R1+R2)
+Ro=R1*R2/(R1+R2)
+
+printf("thevenin voltage = %.3f V \n",Eo)
+printf("thevenin resistance = %.3f kilo ohm \n",Ro)
+
+// here Eo=Ib*Ro+Vbe+Ie*Re
+// now considering Ie=gain_beta*Ib, we can replace Ib=Ie/gain_beta
+// Eo=(Ie/gain_beta)*Ro+Vbe+Ie*Re
+// making Ie as subject we get
+Ie=(Eo-Vbe)/(Re+Ro/gain_beta)
+
+printf("emitter current = %.3f mA \n",Ie)