summaryrefslogtreecommitdiff
path: root/3754/CH14/EX14.4/14_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH14/EX14.4/14_4.sce')
-rw-r--r--3754/CH14/EX14.4/14_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH14/EX14.4/14_4.sce b/3754/CH14/EX14.4/14_4.sce
new file mode 100644
index 000000000..238fc8c1f
--- /dev/null
+++ b/3754/CH14/EX14.4/14_4.sce
@@ -0,0 +1,15 @@
+clear//
+
+//Variables
+
+IE = 10 //Emitter current (in milli-Ampere)
+alpha = 0.987 //common base current gain
+
+//Calculation
+
+IC = alpha * IE //Collector current (in milli-Ampere)
+IB = IE - IC //Base current (in milli-Ampere)
+
+//Result
+
+printf("\n IC is %0.3f mA.\nIB is %0.3f mA.",IC,IB)