summaryrefslogtreecommitdiff
path: root/2093/CH1/EX2.3/exa_2_3.sce
blob: 2e39ca48a61266ad7ef614f09efd51a218d45819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Exa 2.3
clc;
clear;
close;
// Given data 
Vt= 0.7;// in V
I_D= 100;// in µA
I_D=I_D*10^-6;// in A
// When 
V_GS= 1.2;// in V
V_DS= V_GS;// in V
// At this condition, device is in saturation region, so     I_D= unCox*W/(2*L)*(V_GS-VT)^2
unCoxWby2L= I_D/(V_GS-Vt)^2;
// For 
V_DS= 3;// in V
V_GS= 1.5;// in V
// In this condition, device is in saturation region, so
I_D= unCoxWby2L*(V_GS-Vt)^2;// in A
disp(I_D*10^6,"For V_DS= 3V and V_GS= 1.5 V, The value of I_D in µA is : ")
// For
V_GS= 3.2;// in V
r_DS= 1/(2*unCoxWby2L*(V_GS-Vt));// in Ω
disp(r_DS,"For V_GS = 3.2 V, Drain to source resistance in Ω is : ")