summaryrefslogtreecommitdiff
path: root/3754/CH14/EX14.9/14_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH14/EX14.9/14_9.sce')
-rw-r--r--3754/CH14/EX14.9/14_9.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH14/EX14.9/14_9.sce b/3754/CH14/EX14.9/14_9.sce
new file mode 100644
index 000000000..5768f8268
--- /dev/null
+++ b/3754/CH14/EX14.9/14_9.sce
@@ -0,0 +1,15 @@
+clear//
+
+//Variables
+
+IB = 0.125 //Base current (in milli-Ampere)
+beta = 200.0 //common emitter current gain
+
+//Calculation
+
+IC = IB * beta //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)