blob: 62168d2c9d995956cc1588df8a950b3b8afc22fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Exa 2.16
format('v',7);
clc;
clear;
close;
// Given data
V_SS= -5;// in V
unCox= 60;// in µA/V^2
unCox= unCox*10^-6;// in A/V^2
Vt= 1;// in V
W= 100;// in µm
L= 3;// in µm
V_G=0;// in V
V_DD= 5;// in V
V_D=0;//in V
I_D= 1*10^-3;// in A
// I_D= (V_DD-V_D)/R_D
R_D= (V_DD-V_D)/I_D;// in Ω
R_D= R_D*10^-3;// in kΩ
disp(R_D,"The value of R_D in kΩ is : ")
// Formul I_D= 1/2*unCox*W/L*(V_GS-Vt)^2
V_GS= sqrt(2*I_D*L/(unCox*W))+Vt;// in V
V_S= V_G-V_GS;// in V
R_S= (V_S-V_SS)/I_D;// in Ω
R_S= R_S*10^-3;// in kΩ
disp(R_S,"The resistance in kΩ is ");
|