summaryrefslogtreecommitdiff
path: root/3655/CH9/EX9.4/Ex9_4.sce
blob: 754af667cc0a55edeac677ed97428a148bd3e0b4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Example 9.4
// Computation for various gains & i/p &o/p impedances//
// Page no.387

clc;
clear;
close;

//Given data
hfe=50;
hoe=25*10^-6;
RL=1*10^3;
hie=1100;
hre=2.5*10^-4;
Rs=1000;


//..................................(A).....................................//

//Calculation for current gain//
AI=-hfe/(1+hoe*RL);

//Calculation for input resistance//
Ri=hie+(hre*AI*RL);

//Calculation for voltage gain//
Av=(AI*RL)/Ri;

//Calculation for overall voltage gain//
Avs=(Av*Ri)/(Ri+Rs);

//Calculation for overall current gain//
AIs=(AI*Rs)/(Ri+Rs);

//Calculation for output admittance//
Yo=hoe-((hfe*hre)/(hie+Rs));

//Calculation for output impedance//
Zo=1/Yo;

//Calculation for the power gain//
Ap=Av*AI;

//Displaying the result in command window

printf('\n Current gain = AI = %0.1f ',AI);
printf('\n \n Input resistance = Ri = %0.0f ohm',Ri);
printf('\n \n Voltage gain = Av = %0.1f ',Av);
printf('\n \n Overall voltage gain = Avs = %0.1f ',Avs);
printf('\n \n Overall current gain = AIs = %0.1f ',AIs);
printf('\n \n Output admittance = Yo = %0.1f x 10^-6 mho',Yo*10^6);
printf('\n \n Output impedance = Zo = %0.1f K',Zo*10^-3);
printf('\n \n The power gain = Ap =Av*AI = %0.0f ',Ap);

//Answers are varying due to round off error//