summaryrefslogtreecommitdiff
path: root/1514/CH21/EX21.2/21_2.sce
blob: cf77e67bb2a9f88617352ded057301d40c86bcd4 (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
//chapter 21
//example 21.2
//page 672
clear;
clc ;
//given
Rg=1;//grid resistor in Mohm;
Rp=7;//plate resistor in kohm;
Rl=30;//load resistance in kohm
Vcc=175;//supply voltage in  V
Vg=-2;//grid bias in V
Ep1=Vcc;Ip=0;Epp=Ep1;
Ep2=0;Ip2=Epp/Rp;
//dc load line with points A(175,0)and B(0,25),intersects Eg=-2V which gives
Ip=10;//
Ep=105;
//ip impedance
Zi=Rg;

//op impedance
rp=50/10;//deltaEp/deltaIp
Zo=(rp*Rp)/(rp+Rp);

//voltage gain
mu=50/2;
Av=-mu*((Rp*Rl)/(Rp+Rl))/(rp+((Rp*Rl)/(Rp+Rl)));

printf("\nip impedance=%dMohm",Zi);
printf("\nop impedance=%.1f kohm",Zo);
printf("\nvoltage gain=%.1f",Av);