diff options
Diffstat (limited to '2702/CH2/EX2.7/Ex_2_7.sce')
-rw-r--r-- | 2702/CH2/EX2.7/Ex_2_7.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2702/CH2/EX2.7/Ex_2_7.sce b/2702/CH2/EX2.7/Ex_2_7.sce new file mode 100644 index 000000000..9709fecc5 --- /dev/null +++ b/2702/CH2/EX2.7/Ex_2_7.sce @@ -0,0 +1,16 @@ +// Exa 2.7
+clc;
+clear;
+close;
+// Given data
+KnWbyL= 1;// in mA
+KnWbyL=KnWbyL*10^-3;// in A
+Vt= 1;// in V
+V_DS= 0.1;// in V
+V_D= V_DS;// in V
+V_GS= 5;// in V
+V_DD= V_GS;// in V
+// Formula I_D= K'nW/L*[(V_GS-Vt)*V_DS-V_DS^2/2]
+I_D= KnWbyL*[(V_GS-Vt)*V_DS-V_DS^2/2];// in A
+R_D= (V_DD-V_D)/I_D;//in Ω
+disp(R_D*10^-3,"The required value of R_D in kΩ is : ")
|