summaryrefslogtreecommitdiff
path: root/3630/CH12/EX12.16/Ex12_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH12/EX12.16/Ex12_16.sce')
-rw-r--r--3630/CH12/EX12.16/Ex12_16.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3630/CH12/EX12.16/Ex12_16.sce b/3630/CH12/EX12.16/Ex12_16.sce
new file mode 100644
index 000000000..d34f867f5
--- /dev/null
+++ b/3630/CH12/EX12.16/Ex12_16.sce
@@ -0,0 +1,28 @@
+clc;
+Vgs1=-0.5
+Vgs2=-5;
+Gm01=0.002;
+Gm02=0.006;
+Vgsoff1=-2;
+Vgsoff2=-8;
+Gm1=Gm01*(1-(Vgs1/Vgsoff1));
+Gm2=Gm02*(1-(Vgs2/Vgsoff2));
+Rs=5100;
+RL=20000;
+rS=(Rs*RL)/(Rs+RL);
+Avmin=rS/(rS+(1/Gm1));
+Avmax=rS/(rS+(1/Gm2));
+disp(' ',Avmax,"Avmax=")//The answers vary due to round off error
+disp(' ',Avmin,"Avmin=")//The answers vary due to round off error
+Gm11=1/667;
+Gm22=1/444;
+Zoutmax=(Rs/Gm11)/(Rs+(1/Gm11));
+Zoutmin=(Rs/Gm22)/(Rs+(1/Gm22));
+disp('Ohm',Zoutmax,"Zoutmax=")//The answers vary due to round off error
+disp('Ohm',Zoutmin,"Zoutmin=")//The answers vary due to round off error
+R1=1000000;
+R2=1000000;
+Zin=(R1*R2)/(R1+R2);
+disp('KOhm',Zin/1000,"Zin=")//The answers vary due to round off error
+
+