summaryrefslogtreecommitdiff
path: root/1223/CH11/EX11.15/Ex11_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH11/EX11.15/Ex11_15.sce')
-rwxr-xr-x1223/CH11/EX11.15/Ex11_15.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1223/CH11/EX11.15/Ex11_15.sce b/1223/CH11/EX11.15/Ex11_15.sce
new file mode 100755
index 000000000..28d88be30
--- /dev/null
+++ b/1223/CH11/EX11.15/Ex11_15.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+//Example 11.15
+Kn=0.2;
+Idq=0.1;
+ro4=1000;//Kohm
+ro6=1000;//KOhm
+ro2=ro4;
+//lambda=y
+y=0.01;
+gm=2*sqrt(Kn*Idq);
+printf('\ntransconductance=%.3f mA/V\n',gm)
+ro=1/(y*Idq);
+printf('\noutput resistance=%.2f KOhm\n',ro)
+Ro=ro4+ro6*(1+gm*ro);
+Ro=Ro*0.001;//Mohm
+printf('\noutput resistance of the cascode active load=%.2fMohm\n',Ro)
+Ro=Ro*1000;//KOhm
+Ad=gm*ro2*Ro/(ro4+Ro);
+printf('\ndifferential mode voltage gain=%.2f\n',Ad)