summaryrefslogtreecommitdiff
path: root/1223/CH17/EX17.5/Ex17_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH17/EX17.5/Ex17_5.sce')
-rwxr-xr-x1223/CH17/EX17.5/Ex17_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1223/CH17/EX17.5/Ex17_5.sce b/1223/CH17/EX17.5/Ex17_5.sce
new file mode 100755
index 000000000..39249b4bc
--- /dev/null
+++ b/1223/CH17/EX17.5/Ex17_5.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+//Example 17.5
+b=50;
+V2=-5.2;
+Vbe=0.7;
+Rc2=0.240;
+Vor=-0.75;
+Re=1.180;
+iE=(Vor-Vbe-V2)/Re;
+printf('\nemitter current=%.2f mA\n',iE)
+iB=iE/(1+b);
+iB=iB*1000;//micro A
+printf('\ninput base current=%.2f microA\n',iB)
+R3=1.500;
+i3=(Vor-V2)/R3;
+printf('\ni3=%.2f mA\n',i3)
+iB=iB*0.001;//mA
+N=(-(Vor+Vbe)*(1+b)/(Rc2)-i3)/iB;
+printf('\nN=%.f\n',N)