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