summaryrefslogtreecommitdiff
path: root/1658/CH19/EX19.10/Ex19_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1658/CH19/EX19.10/Ex19_10.sce')
-rwxr-xr-x1658/CH19/EX19.10/Ex19_10.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/1658/CH19/EX19.10/Ex19_10.sce b/1658/CH19/EX19.10/Ex19_10.sce
new file mode 100755
index 000000000..b518db13b
--- /dev/null
+++ b/1658/CH19/EX19.10/Ex19_10.sce
@@ -0,0 +1,26 @@
+clc;
+VS=10*10**-3;
+a=0.98;
+VBE=0.7;
+VCC=10;
+RC=10*10**3;
+RL=5.1*10**3;
+RE=20*10**3;
+VEE=10;
+IE=(VEE-VBE)/RE;
+re=25/IE*10**-3;
+Ri=re;
+Ris=(RE*re)/(RE+re);
+disp('ohm',Ris,"Ris=");
+Ai=a;
+disp(Ai);
+rL=(RC*RL)/(RC+RL);
+Av=rL/re;
+disp(Av);
+Ap=Av*Ai;
+disp(Ap);
+Gp=10*log10(Ap);
+disp('dB',Gp,"Gp=");
+Vin=VS;
+Vo=Av*Vin;
+disp('mV',Vo*10**3,"Vo=");