summaryrefslogtreecommitdiff
path: root/1658/CH19/EX19.13
diff options
context:
space:
mode:
Diffstat (limited to '1658/CH19/EX19.13')
-rwxr-xr-x1658/CH19/EX19.13/Ex19_13.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1658/CH19/EX19.13/Ex19_13.sce b/1658/CH19/EX19.13/Ex19_13.sce
new file mode 100755
index 000000000..8573c3a3b
--- /dev/null
+++ b/1658/CH19/EX19.13/Ex19_13.sce
@@ -0,0 +1,23 @@
+clc;
+B=80;
+VBE=0.7;
+VCC=15;
+R1=20*10**3;
+R2=20*10**3;
+RS=2*10**3;
+VS=5*10**-3;
+RE=8.2*10**3;
+RL=1.5*10**3;
+VTH=VCC*R2/(R1+R2);
+RTH=(R1*R2)/(R1+R2);
+IE=(VTH-VBE)/(RE+(RTH/B));
+disp('mA',IE*10**3,"IE=");
+re=25/IE*10**-3;
+rL=(RE*RL)/(RE+RL);
+Ri=B*(rL+re);
+Ris=(RTH*Ri)/(RTH+Ri);
+disp('kohm',Ris*10**-3,"Ris=");
+Ro=re+((RS*RTH)/(RS+RTH))/B;
+disp('ohm',Ro,"Ro=");
+Vin=VS*Ris/(RS+Ris);
+disp('mV',Vin*10**3,"Vin=");