summaryrefslogtreecommitdiff
path: root/2459/CH12/EX12.14/Ex12_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH12/EX12.14/Ex12_14.sce')
-rw-r--r--2459/CH12/EX12.14/Ex12_14.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2459/CH12/EX12.14/Ex12_14.sce b/2459/CH12/EX12.14/Ex12_14.sce
new file mode 100644
index 000000000..df5ab4cff
--- /dev/null
+++ b/2459/CH12/EX12.14/Ex12_14.sce
@@ -0,0 +1,23 @@
+//chapter12
+//example12.14
+//page251
+
+Vcc=20 // V
+Re=5 // kilo ohm
+Rc=1 // kilo ohm
+Vbe=0 // considering it as negligible
+R1=10 // kilo ohm
+R2=10 // kilo ohm
+
+V2=Vcc*R2/(R1+R2)
+
+// since V2=Vbe+Ie*Re so
+Ie=(V2-Vbe)/Re
+Ic=Ie
+
+Vce=Vcc-Ic*(Rc+Re)
+Vc=Vcc-Ic*Rc
+
+printf("emitter current = %.3f mA \n",Ie)
+printf("collector emitter voltage = %.3f V \n",Vce)
+printf("collector potential = %.3f V \n",Vc)