summaryrefslogtreecommitdiff
path: root/2459/CH22/EX22.10/Ex22_10.sce
blob: f839457b62f4178f5fde0aecf7a843084a89aa83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter22
//example22.10
//page498

V_DD=30 // V
I_D=2.5d-3 // A
R_D=5d3 // ohm
R_S=200 // ohm

V_DS=V_DD-I_D*(R_D+R_S)
V_GS=-I_D*R_S

printf("V_DS = %.3f V \n",V_DS)
printf("V_GS = %.3f V \n",V_GS)