summaryrefslogtreecommitdiff
path: root/1658/CH18/EX18.5/Ex18_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1658/CH18/EX18.5/Ex18_5.sce')
-rwxr-xr-x1658/CH18/EX18.5/Ex18_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1658/CH18/EX18.5/Ex18_5.sce b/1658/CH18/EX18.5/Ex18_5.sce
new file mode 100755
index 000000000..41d17e7eb
--- /dev/null
+++ b/1658/CH18/EX18.5/Ex18_5.sce
@@ -0,0 +1,14 @@
+
+clc;
+//e.g 18.5
+Rb=400*10**3;
+Vcc=20;
+Rc=2*10**3;
+Re=1*10**3;
+beta=100;
+Ib=Vcc/(Rb+(beta*Re));//saturation current
+disp('mA',Ib*10**3,"Ib=");
+Ic=beta*Ib;
+disp('mA',Ic*10**3,"Ic=");
+Vce=Vcc-(Ic*(Rc+Re));//cut-off voltage
+disp('V',Vce*1,"Vce=");