diff options
Diffstat (limited to '3515/CH2/EX2.9/Ex_2_9.sce')
-rw-r--r-- | 3515/CH2/EX2.9/Ex_2_9.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3515/CH2/EX2.9/Ex_2_9.sce b/3515/CH2/EX2.9/Ex_2_9.sce new file mode 100644 index 000000000..17c757cd4 --- /dev/null +++ b/3515/CH2/EX2.9/Ex_2_9.sce @@ -0,0 +1,27 @@ +// Exa 2.9
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+R_D= 20;// in kΩ
+R_D= R_D*10^3;// in Ω
+R1= 30;// in kΩ
+R1= R1*10^3;// in Ω
+R2= 20;// in kΩ
+R2= R2*10^3;// in Ω
+V_DD= 5;// in V
+Vtn= 1;// in V
+Kn= 0.1;// in mA/V^2
+Kn=Kn*10^-3;// in A/V^2
+V_GS= R2*V_DD/(R1+R2);// in V
+// I_D= 1/2*µnCox*W/L*(V_GS-Vtm)^2
+I_D = Kn*(V_GS-Vtn)^2 ;// in mA (As Kn= 1/2*µnCox*W/L)
+V_DS= V_DD-I_D*R_D;// in V
+I_D= I_D*10^3;// in mA
+disp(V_GS,"The value of V_GS in volt is : ")
+disp(I_D,"The value of I_D in mA is : ")
+disp(V_DS,"The value of V_DS in volt is : ")
+disp("Since V_DS = 3V > V_DS(sat) = V_GS-Vtn = 2 - 1V, the transistor is indeed biased in the saturation region")
+
+
|