summaryrefslogtreecommitdiff
path: root/3515/CH2/EX2.20
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.20
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.20')
-rw-r--r--3515/CH2/EX2.20/Ex_2_20.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3515/CH2/EX2.20/Ex_2_20.sce b/3515/CH2/EX2.20/Ex_2_20.sce
new file mode 100644
index 000000000..4aff13a79
--- /dev/null
+++ b/3515/CH2/EX2.20/Ex_2_20.sce
@@ -0,0 +1,28 @@
+// Exa 2.20
+format('v',4);
+clc;
+clear;
+close;
+// Given data
+unCox= 20*10^-6;//in A/V^2
+upCox= unCox/2.5;// in A/V^2
+V_DD= 3;//in V
+Vt= 1;// in V
+W= 30;// in µm
+L= 10;// in µm
+// V_GS1= V_GS2
+// Formula V_DD= V_GS1+V_GS2
+V_GS1= V_DD/2;//in V
+V_GS2= V_GS1;// in V
+V2= V_GS1;// inV
+I1= 1/2*unCox*W/L*(V_GS1-Vt)^2;// in A
+// Both transistor have V_D = V_G and therefore they are operating in saturation
+//1/2*unCox*W/L*(V4-Vt)^2 = 1/2*upCox*W/L*(V_DD-V4-Vt)
+V4= (V_DD-Vt+sqrt(unCox/upCox))/(1+sqrt(unCox/upCox));
+I3= 1/2*unCox*W/L*(1.39-Vt)^2
+disp(V2,"The value of V2 in volt is : ")
+I1= I1*10^6;// in µA
+disp(I1,"The value of I1 in µAis : ")
+disp(V4,"The value of V4 in volt is : ")
+I3= I3*10^6;// in µA
+disp(I3,"The value of I3 in µAis : ")