summaryrefslogtreecommitdiff
path: root/1658/CH19/EX19.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1658/CH19/EX19.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1658/CH19/EX19.8')
-rwxr-xr-x1658/CH19/EX19.8/Ex19_8.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1658/CH19/EX19.8/Ex19_8.sce b/1658/CH19/EX19.8/Ex19_8.sce
new file mode 100755
index 000000000..4415d52cb
--- /dev/null
+++ b/1658/CH19/EX19.8/Ex19_8.sce
@@ -0,0 +1,30 @@
+clc;
+//e.g 19.8
+Vcc=20;
+Rc=5.7*10**3;
+Re=1*10**3;
+R1=100*10**3;
+R2=10*10**3;
+Rs=100;
+beta1=100;
+Vbe=0.7;
+Vth=(Vcc*R2)/(R1+R2);
+disp('V',Vth*1,"Vth=");
+Rth=(R1*R2)/(R1+R2);
+disp('Kohm',Rth*10**-3,"Rth=");
+Ie=(Vth-Vbe)/(Re+(Rth/beta1));
+disp('mA',Ie*10**3,"Ie=");
+re=25/(Ie*10**3);
+disp('ohm',re*1,"re=");
+Ri=beta1*re;
+Ris=(Rth*Ri)/(Rth+Ri);
+disp('ohm',Ris*1,"Ris=");
+rl=Rc;
+Av=rl/re;
+disp(Av);
+Vin=(Vs*Ris)/(Ris+Rs);
+disp('mV',Vin*1,"Vin=");
+V0=Av*Vin;
+disp('V',V0*10**-3,"V0=");
+Avs=(Av*Vin)/Vs;
+disp(Avs);