summaryrefslogtreecommitdiff
path: root/2702/CH2/EX2.16/Ex_2_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '2702/CH2/EX2.16/Ex_2_16.sce')
-rw-r--r--2702/CH2/EX2.16/Ex_2_16.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2702/CH2/EX2.16/Ex_2_16.sce b/2702/CH2/EX2.16/Ex_2_16.sce
new file mode 100644
index 000000000..a7c9e4f26
--- /dev/null
+++ b/2702/CH2/EX2.16/Ex_2_16.sce
@@ -0,0 +1,25 @@
+// Exa 2.16
+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 Ω
+disp(R_D*10^-3,"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 Ω
+disp(R_S*10^-3,"The resistance in kΩ is ");
+
+