blob: 3249cc957ced66b00d0a9f7ff66d7aac5b528971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
//e.g22.5
VP=5;
IDSS=12*10**-3;
VDD=12;
ID=4*10**-3;
VDS=6;
VGS=VP*(1-sqrt(ID/IDSS));
VS=VGS;
RS=VS/ID;
disp('ohm',RS*1,"RS=");
RD=VDS/ID;
disp('Kohm',RD*10**-3,"RD=")
|