summaryrefslogtreecommitdiff
path: root/1658/CH19/EX19.7/Ex19_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1658/CH19/EX19.7/Ex19_7.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1658/CH19/EX19.7/Ex19_7.sce')
-rwxr-xr-x1658/CH19/EX19.7/Ex19_7.sce50
1 files changed, 25 insertions, 25 deletions
diff --git a/1658/CH19/EX19.7/Ex19_7.sce b/1658/CH19/EX19.7/Ex19_7.sce
index 31c2184fe..c9fc30672 100755
--- a/1658/CH19/EX19.7/Ex19_7.sce
+++ b/1658/CH19/EX19.7/Ex19_7.sce
@@ -1,25 +1,25 @@
-clc;
-//e.g 19.7
-Vcc=-18;
-Rc=4.3*10**3;
-Re=1*10**3;0
-RL=3*10**3;
-R1=39*10**3;
-R2=8.2*10**3;
-beta1=200;
-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=");
-re1=(30*10**-3)/(-Ie);
-disp('ohm',re1*1,"re1=");
-Ri=beta1*re;
-Ris=(Rth*Ri)/(Rth+Ri);
-disp('kohm',Ris*10**-3,"Ris=");
-re=(Rc*RL)/(Rc+RL);
-disp('Kohm',re*10**-3,"re=");
-Av=re/re1;
-disp(Av);
+clc;
+//e.g 19.7
+Vcc=-18;
+Rc=4.3*10**3;
+Re=1*10**3;0
+RL=3*10**3;
+R1=39*10**3;
+R2=8.2*10**3;
+beta1=200;
+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=");
+re1=(30*10**-3)/(-Ie);
+disp('ohm',re1*1,"re1=");
+re=(Rc*RL)/(Rc+RL);
+Ri=beta1*re;
+Ris=(Rth*Ri)/(Rth+Ri);
+disp('kohm',Ris*10**-3,"Ris=");
+disp('Kohm',re*10**-3,"re=");
+Av=re/re1;
+disp(Av); \ No newline at end of file