summaryrefslogtreecommitdiff
path: root/1223/CH13/EX13.10/Ex13_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH13/EX13.10/Ex13_10.sce')
-rwxr-xr-x1223/CH13/EX13.10/Ex13_10.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1223/CH13/EX13.10/Ex13_10.sce b/1223/CH13/EX13.10/Ex13_10.sce
new file mode 100755
index 000000000..03750db9b
--- /dev/null
+++ b/1223/CH13/EX13.10/Ex13_10.sce
@@ -0,0 +1,29 @@
+clear;
+clc;
+//Example 13.10
+Iref=100;
+Kn=80;
+Kp=40;
+//W/L=x
+x=25;
+//lambda=y
+y=0.02;
+Id=Iref/2;
+gm1=2*sqrt(Kp*x*Id/2);
+printf('\ntransconductance gm1=gm8=%.3f microA/V\n',gm1)
+gm6=2*sqrt(Kn*x*Id/2);
+printf('\ntransconductance=%.3f microA/V\n',gm6)
+ro1=1/(y*Id);
+ro8=ro1;
+ro6=ro1;
+ro10=ro1;
+printf('\noutput resistance ro1=ro8=ro6=ro10=%.3f MOhm\n',ro1)
+Id4=Iref;
+ro4=1/(y*Id4);
+printf('\nro4=%.3f MOhm\n',ro4)
+Ro8=gm1*ro8*ro10;
+printf('\ncomposite output resistances =%.2f MOhm\n',Ro8)
+Ro6=gm6*ro6*ro4*ro1/(ro4+ro1);
+printf('\ncomposite output resistances=%.2f MOhm\n',Ro6)
+Ad=gm1*Ro6*Ro8/(Ro6+Ro8);
+printf('\ndifferential voltage gain=%.2f\n',Ad)