summaryrefslogtreecommitdiff
path: root/3630/CH12/EX12.4/Ex12_4.sce
blob: a07b203fc2a0fbadc2eb8762bb653eb3ade00bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;
Vgs=-5;
Vgg=Vgs;
Idss=0.016;
Vgsoff=-8;
Id=Idss*(1-(Vgs/Vgsoff))^2;
Vdd=10;
Rd=2200;
VDS=Vdd-Id*Rd;
disp('V',Vgs,"Vgs=")
disp('mA',Id*1000,"Id=")
disp('V',VDS,"VDS=")