summaryrefslogtreecommitdiff
path: root/3630/CH12/EX12.16/Ex12_16.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3630/CH12/EX12.16/Ex12_16.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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
+
+