From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 2702/CH2/EX2.18/Ex_2_18.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 2702/CH2/EX2.18/Ex_2_18.sce (limited to '2702/CH2/EX2.18/Ex_2_18.sce') diff --git a/2702/CH2/EX2.18/Ex_2_18.sce b/2702/CH2/EX2.18/Ex_2_18.sce new file mode 100644 index 000000000..e3644c075 --- /dev/null +++ b/2702/CH2/EX2.18/Ex_2_18.sce @@ -0,0 +1,26 @@ +// Exa 2.18 +clc; +clear; +close; +// Given data +Vt= 1;// in V +unCox= 120;// in µA/V^2 +unCox= unCox*10^-6;// in A/V^2 +L1=1;// in µm +L2=L1;// in µm +I_D= 120;//in µA +I_D= I_D*10^-6;//in A +V_GS1= 1.5;//in V +V_G2= 3.5;// in V +V_S2= 1.5;// in V +V_DD= 5;// in V +V_D2= 3.5;// in V +// Formul I_D= 1/2*unCox*W/L*(V_GS1-Vt)^2 +W1= 2*I_D*L1/(unCox*(V_GS1-Vt)^2);// in µm +disp(W1,"The value of W1 in µm is : ") +V_GS2= V_G2-V_S2;//in V +// Formul I_D= 1/2*unCox*W/L*(V_GS1-Vt)^2 +W2= 2*I_D*L2/(unCox*(V_GS2-Vt)^2);// in µm +disp(W2,"The value of W2 in µm is : ") +R= (V_DD-V_D2)/I_D;// in Ω +disp(R*10^-3,"Resistance in kΩ"); -- cgit