summaryrefslogtreecommitdiff
path: root/147/CH9/EX9.8/Example9_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /147/CH9/EX9.8/Example9_8.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 '147/CH9/EX9.8/Example9_8.sce')
-rw-r--r--147/CH9/EX9.8/Example9_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/147/CH9/EX9.8/Example9_8.sce b/147/CH9/EX9.8/Example9_8.sce
new file mode 100644
index 000000000..d704bbb27
--- /dev/null
+++ b/147/CH9/EX9.8/Example9_8.sce
@@ -0,0 +1,18 @@
+//transconductance gm, source drain resistance rds
+close();
+clear;
+clc;
+gm = 2*10^(-3);//ms
+rds = 30000;//ohm
+Rs = 3000;
+Rl = 2000;
+Rd = Rl;
+ri = 5000;
+R1 = 200000;
+R2 = 800000;
+Rg = R1*R2/(R1+R2);
+Zin = Rg;
+Rep = rds*Rd*Rl/(rds*Rd+Rd*Rl+rds*Rl);
+Av = -gm*(Rg/(Rg+ri))*Rep;
+Ai = Av*(Rg+ri)/Rl;
+mprintf('Zin = %0.0f k ohm\nAv = %0.2f \nAi = %0.1f',Zin/1000,Av,Ai); \ No newline at end of file