summaryrefslogtreecommitdiff
path: root/1658/CH19/EX19.1/Ex19_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1658/CH19/EX19.1/Ex19_1.sce')
-rwxr-xr-x1658/CH19/EX19.1/Ex19_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1658/CH19/EX19.1/Ex19_1.sce b/1658/CH19/EX19.1/Ex19_1.sce
new file mode 100755
index 000000000..481abd029
--- /dev/null
+++ b/1658/CH19/EX19.1/Ex19_1.sce
@@ -0,0 +1,22 @@
+clc;
+//e.g 19.1
+Vcc=10;
+Rc=10*10**3;
+Rb=1*10**6;
+beta=100;
+Vbe=0.7;
+Ib=(Vcc-Vbe)/Rb;
+disp('microA',Ib*10**6,"Ib=");
+Ic=beta*Ib;
+disp('mA',Ic*10**3,"Ic=");
+Ie=Ic;
+re=25/(Ie*10**3);
+disp('ohm',re*1,"re=");
+Ri=beta*re;
+disp('kohm',Ri*10**-3,"Ri=");
+Ris=(Rb*beta*re)/(Rb+beta*re);
+disp('kohm',Ris*10**-3,"Ris=");
+R0=Rc;
+disp('kOhm',R0*10**-3,"R0=");
+Av=Rc/re;
+disp(Av);