diff options
Diffstat (limited to '3866/CH2/EX2.7/Ex2_7.sce')
-rw-r--r-- | 3866/CH2/EX2.7/Ex2_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3866/CH2/EX2.7/Ex2_7.sce b/3866/CH2/EX2.7/Ex2_7.sce new file mode 100644 index 000000000..4a7d1067a --- /dev/null +++ b/3866/CH2/EX2.7/Ex2_7.sce @@ -0,0 +1,15 @@ +clear; close; clc;
+//in standard units
+vsat=8*(10^4);
+tox=22*(10^(-10));
+vgs=1.2;
+vt=0.4;
+cl=100*(10^(-9));
+eo=8.85*(10^(-12));
+cox=(4*eo)/tox;
+enln=6*(10^6)*cl;
+eplp=24*(10^6)*cl;
+ids1=(vsat*cox*((vgs-vt)^2))/(vgs-vt+enln);
+ids2=(vsat*cox*((vgs-vt)^2))/(vgs-vt+eplp);
+disp(ids1,'saturation current of NMOS(in ampere/metre)');//answers vary due to round off error
+disp(ids2,'saturation current of PMOS(in ampere/metre)');//answers vary due to round off error
|