summaryrefslogtreecommitdiff
path: root/3507/CH12/EX12.5/Ex12_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH12/EX12.5/Ex12_5.sce')
-rw-r--r--3507/CH12/EX12.5/Ex12_5.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3507/CH12/EX12.5/Ex12_5.sce b/3507/CH12/EX12.5/Ex12_5.sce
new file mode 100644
index 000000000..8d8b2f445
--- /dev/null
+++ b/3507/CH12/EX12.5/Ex12_5.sce
@@ -0,0 +1,23 @@
+//chapter12
+//example12.5
+//page242
+
+Vcc=12 // V
+gain_beta=100
+Vbe=0.3 // V
+Ic=1 // mA
+
+// since gain_beta=Ic/Ib
+Ib=Ic/gain_beta
+
+// since Vcc=Ib*Rb+Vbe we get
+Rb=(Vcc-Vbe)/Ib
+
+gain_beta2=50
+
+// since Vcc=Ib*Rb+Vbe we get
+Ib2=(Vcc-Vbe)/Rb
+Ic2=Ib2*gain_beta2
+
+printf("for beta = 100, base resistor = %.3f kilo ohm \n",Rb)
+printf("for beta = 50, zero signal collector current for same Rb is = %.3f mA \n",Ic2)