summaryrefslogtreecommitdiff
path: root/1223/CH10/EX10.12/Ex10_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH10/EX10.12/Ex10_12.sce')
-rwxr-xr-x1223/CH10/EX10.12/Ex10_12.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1223/CH10/EX10.12/Ex10_12.sce b/1223/CH10/EX10.12/Ex10_12.sce
new file mode 100755
index 000000000..14e0efb72
--- /dev/null
+++ b/1223/CH10/EX10.12/Ex10_12.sce
@@ -0,0 +1,21 @@
+clear;
+clc;
+//Example 10.12
+//lambda=y
+yn=0.01;
+yp=0.01;
+Vtn=1;
+Kn=1;
+Iref=0.5;
+gm=2*sqrt(Kn*Iref);
+printf('\ntransconductance =%.2fmA/V\n',gm)
+go=yn*Iref;
+printf('\nsmall signal transistor conductance=%.4f mA/V\n',go)
+go2=go;
+//for Rl=infinity
+Av=-gm/(go+go2);
+printf('\nvoltage gain=%.2f \n',Av)
+Rl=100;//Kohm
+gl=0.01;
+Av=-gm/(go+gl+go2);
+printf('\nvoltage gain=%.2f \n',Av)