summaryrefslogtreecommitdiff
path: root/887/CH11/EX11.2/11_2.sce
blob: a476a026a20e39a811cc3c8957933510a81d0db8 (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
clc
//ex11.2
R_i_1=10^6;
R_o_1=500;
R_i_2=1500;
R_o_2=100;
R_L=100;
A_voc_1=200;
A_voc_2=100;
//voltage gain of the first stage...A_v_1=(V_o_1/V_i_1)=(V_i_2/V_i_2)=A_voc_1(R_i_2/(R_i_2+R_o_1))
A_v_1=A_voc_1*(R_i_2/(R_i_2+R_o_1));
A_v_2=A_voc_2*(R_L/(R_L+R_o_2));
A_i_1=A_v_1*R_i_1/R_i_2;
A_i_2=A_v_2*R_i_2/R_L;
A_i=A_i_1*A_i_2;
G_1=A_v_1*A_i_1;
G_2=A_v_2*A_i_2;
G=G_1*G_2;
disp(A_i_1,'Current gain of first stage')
disp(A_i_2,'Current gain of second stage')
disp(A_v_1,'Voltage gain of first stage')
disp(A_v_2,'Voltage gain of second stage')
disp(G_1,'Power gain of first stage')
disp(G_2,'Power gain of second stage')
disp(G,'Overall power gain')