summaryrefslogtreecommitdiff
path: root/1658/CH18/EX18.2
diff options
context:
space:
mode:
Diffstat (limited to '1658/CH18/EX18.2')
-rwxr-xr-x1658/CH18/EX18.2/18_2.pngbin0 -> 48288 bytes
-rwxr-xr-x1658/CH18/EX18.2/Ex18_2.sce25
2 files changed, 25 insertions, 0 deletions
diff --git a/1658/CH18/EX18.2/18_2.png b/1658/CH18/EX18.2/18_2.png
new file mode 100755
index 000000000..6ced12a56
--- /dev/null
+++ b/1658/CH18/EX18.2/18_2.png
Binary files differ
diff --git a/1658/CH18/EX18.2/Ex18_2.sce b/1658/CH18/EX18.2/Ex18_2.sce
new file mode 100755
index 000000000..903e8eff3
--- /dev/null
+++ b/1658/CH18/EX18.2/Ex18_2.sce
@@ -0,0 +1,25 @@
+
+clc;
+//e.g 18.2
+Vbb=10;
+Rb=50*10**3;
+Vcc=20;
+Rc=300;
+beta=200;
+Ic=Vcc/Rc;//saturation current
+disp('mA',Ic*10**3,"Ic=");
+Vce=Vcc;//cut-off voltage
+disp('V',Vce*1,"Vce=");
+Ib=(Vbb-0.7)/Rb;
+ disp('10^-3A',Ib*10**3,"Ib=");
+ Ic=beta*Ib;
+ disp('10^-3A',Ic*10**3,"Ic=");
+Vce=Vcc-Ic*Rc;
+disp('V',Vce*1,"Vce=");
+i=21:-0.1:0;
+plot2d(i);
+a=gca() //get the current axes
+a.box="off";
+xlabel("VCE");
+ylabel( "IC");
+