blob: ad3116d2fa392dffac5f448291408bffeaf3c48a (
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
26
27
|
//chapter27
//example27.4
//page581
hie=2000 // ohm
hoe=1d-4 // mho
hre=1d-3
hfe=50
rL=600 // ohm
Zin=hie-hre*hfe/(hoe+1/rL)
// here second term can be neglected compared to hie so
Zin_approx=hie
Ai=hfe/(1+hoe*rL)
// if hoe*rL << 1 then
Ai_approx=hfe
Av=-hfe/(Zin*(hoe+1/rL))
// negative sign indicates phase shift between input and output
printf("input impedence = %.3f ohm \n",Zin)
printf("current gain = %.3f \n",Ai)
printf("voltage gain = %.3f. Here negative sign indicates phase shift between input and output.\n \n",Av)
printf("approximate input impedence = %.3f ohm \n",Zin_approx)
printf("approximate current gain = %.3f \n",Ai_approx)
|