summaryrefslogtreecommitdiff
path: root/3754/CH14/EX14.12/14_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH14/EX14.12/14_12.sce')
-rw-r--r--3754/CH14/EX14.12/14_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH14/EX14.12/14_12.sce b/3754/CH14/EX14.12/14_12.sce
new file mode 100644
index 000000000..b23370a59
--- /dev/null
+++ b/3754/CH14/EX14.12/14_12.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+alpha = 0.98 //common base current gain
+ICO = 5 * 10**-3 //Leakage current (in milli-Ampere)
+IB = 100 * 10**-3 //Base current (in milli-Ampere)
+
+//Calculation
+
+IC = (alpha * IB + ICO)/ (1 - alpha) //Collector current (in milli-Ampere)
+IE = IC + IB //Emitter current (in milli-Ampere)
+
+//Result
+
+printf("\n Value of collector current is %0.3f mA.\nValue of emitter current is %0.3f mA.",IC,IE)