diff options
Diffstat (limited to '3515/CH2/EX2.16/Ex_2_16.sce')
-rw-r--r-- | 3515/CH2/EX2.16/Ex_2_16.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3515/CH2/EX2.16/Ex_2_16.sce b/3515/CH2/EX2.16/Ex_2_16.sce new file mode 100644 index 000000000..62168d2c9 --- /dev/null +++ b/3515/CH2/EX2.16/Ex_2_16.sce @@ -0,0 +1,28 @@ +// Exa 2.16
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+V_SS= -5;// in V
+unCox= 60;// in µA/V^2
+unCox= unCox*10^-6;// in A/V^2
+Vt= 1;// in V
+W= 100;// in µm
+L= 3;// in µm
+V_G=0;// in V
+V_DD= 5;// in V
+V_D=0;//in V
+I_D= 1*10^-3;// in A
+// I_D= (V_DD-V_D)/R_D
+R_D= (V_DD-V_D)/I_D;// in Ω
+R_D= R_D*10^-3;// in kΩ
+disp(R_D,"The value of R_D in kΩ is : ")
+// Formul I_D= 1/2*unCox*W/L*(V_GS-Vt)^2
+V_GS= sqrt(2*I_D*L/(unCox*W))+Vt;// in V
+V_S= V_G-V_GS;// in V
+R_S= (V_S-V_SS)/I_D;// in Ω
+R_S= R_S*10^-3;// in kΩ
+disp(R_S,"The resistance in kΩ is ");
+
+
|