summaryrefslogtreecommitdiff
path: root/2459/CH22/EX22.6/Ex22_6.sce
blob: 670c18ffaf9bdc2ae2ba59a0bde83a3c23f59754 (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
//chapter22
//example22.6
//page493

// for V_GS = 0V constant
V_DS1=7 // V
V_DS2=15 // V
I_D1=10 // mA
I_D2=10.25 // mA

rd=(V_DS2-V_DS1)/(I_D2-I_D1)

// for V_DS = 15V constant
V_GS1=0
V_GS2=0.2
I_D1=9.65
I_D2=10.25

g_fs=(I_D2-I_D1)/(V_GS2-V_GS1)

mu=rd*g_fs

printf("ac drain resistance = %.3f ohm or %.3f kilo ohm \n",rd/1000,rd)
printf("transconductance = %.3f mho or %.3f micro mho \n",g_fs,g_fs*1000)
printf("amplification factor = %.3f \n",mu)