summaryrefslogtreecommitdiff
path: root/2276/CH11/EX11.14/chapter11_ex14.sce
blob: 0fc03bc5723a621999dc5d12e031ed4b8dce770f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
clear

//input
//given h-parameters of a junction transistor
hie=1000;//in ohms
hoe=100*(10^-6);//Sec
hre=0.0005;
hfe=50;
rl=10000;//load resistance in ohms

//calculations
Yt=hoe+(1/rl);
v=(1/((hie*(-Yt/hfe))+hre));//voltage gain and - signifies the 180 degree phase shift
vg=-v;
//output
mprintf('the voltage gain would be %3.0f',vg)