summaryrefslogtreecommitdiff
path: root/3515/CH2/EX2.18
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3515/CH2/EX2.18
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3515/CH2/EX2.18')
-rw-r--r--3515/CH2/EX2.18/Ex_2_18.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3515/CH2/EX2.18/Ex_2_18.sce b/3515/CH2/EX2.18/Ex_2_18.sce
new file mode 100644
index 000000000..055b49fed
--- /dev/null
+++ b/3515/CH2/EX2.18/Ex_2_18.sce
@@ -0,0 +1,28 @@
+// Exa 2.18
+format('v',7);
+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 Ω
+R= R*10^-3;// in kΩ
+disp(R,"Resistance in kΩ");