summaryrefslogtreecommitdiff
path: root/3754/CH14/EX14.7/14_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH14/EX14.7/14_7.sce')
-rw-r--r--3754/CH14/EX14.7/14_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH14/EX14.7/14_7.sce b/3754/CH14/EX14.7/14_7.sce
new file mode 100644
index 000000000..20979098a
--- /dev/null
+++ b/3754/CH14/EX14.7/14_7.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+beta = 150.0 //common emitter current gain
+IE = 10 //Emitter current (in milli-Ampere)
+
+//Calculation
+
+alpha = beta / (beta + 1) //common base current gain
+IC = alpha * IE //Collector current (in milli-Ampere)
+IB = IE - IC //Base current (in milli-Ampere)
+
+//Result
+
+printf("\n Collector current is %0.2f mA.\nBase current is %0.2f mA.",IC,IB)