summaryrefslogtreecommitdiff
path: root/3630/CH12/EX12.7/Ex12_7.sce
blob: 85875fb3e7af49c44f2867dafa206c77a6301881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc;
//from example 12.7 Idqmax and Idqmin
Idqmax=0.006;
Idqmin=0.0015;
Vdd=10;
Rs=500;
Rd=500;
Vdsqmax=Vdd-Idqmin*(Rs+Rd);
Vdsqmin=Vdd-Idqmax*(Rs+Rd);
disp('V',Vdsqmax,"Vsdqmax=")
disp('V',Vdsqmin,"Vsdqmin=")
disp('The value of Vdsq will fall between Vdsqmax and Vdsqmin')