summaryrefslogtreecommitdiff
path: root/1223/CH3/EX3.1/Ex3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH3/EX3.1/Ex3_1.sce')
-rwxr-xr-x1223/CH3/EX3.1/Ex3_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1223/CH3/EX3.1/Ex3_1.sce b/1223/CH3/EX3.1/Ex3_1.sce
new file mode 100755
index 000000000..658b6fdee
--- /dev/null
+++ b/1223/CH3/EX3.1/Ex3_1.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+//Example 3.1
+//let beta be "b"
+b=150;//common emitter current gain
+iB=15*10^-3;//(mA) base current
+//assume transistor biased in forward active mode
+iC=b*iB;
+printf('\ncollector current=%.2f mA\n',iC)
+iE=(1+b)*iB;
+printf('\nemitter current=%.2f mA\n',iE)
+a=b/(1+b);
+printf('\ncommon base current gain=%.3f\n',a)