summaryrefslogtreecommitdiff
path: root/2459/CH27/EX27.5/Ex27_5.sce
blob: aa7b2b3dfe04aa161d0454351a5b63c8ba862049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//chapter27
//example27.5
//page582

hie=1700 // ohm
hre=1.3d-4 
hoe=6d-6 // mho
hfe=38
rL=2000 // ohm

Zin=hie-hre*hfe/(hoe+1/rL)

Ai=hfe/(1+hoe*rL)

Av=-hfe/(Zin*(hoe+1/rL))

printf("input impedence = %.3f ohm \n",Zin)
printf("current gain = %.3f \n",Ai)
printf("voltage gain = %.3f \n",-Av) // considering magnitude of Av,we neglect its negative sign and so we display -Av instead of Av