summaryrefslogtreecommitdiff
path: root/147/CH9/EX9.8/Example9_8.sce
diff options
context:
space:
mode:
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