summaryrefslogtreecommitdiff
path: root/506/CH13/EX13.4.c/Example13_4c.sce
blob: 237afc46fa364ff056e533efc22d5010bb809a43 (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
clear;
clc;

//Caption: To find gain and resistance of Voltage Shunt Feedback
//Given Values
Rc=4;//in K
r=40;//in K
Rs=10;//in K
hie=1.1;//in K
hfe=50;
hre=0;
hoe=0;

//Required Formulae
rc=(Rc*r)/(Rc+r);
R=(Rs*r)/(Rs+r);
Rm=-(hfe*rc*R)/(R+hie);
disp('K',Rm,'Rm=');
B=-1/r;//in mA/V
D=1+(B*Rm);
Rmf=Rm/D;

//Avf = Vo/Vs = Vo/(Is*Rs) = Rmf/Rs
Avf=Rmf/Rs;

Ri = (R*hie)/(R+hie);
Rif=Ri/D;

//If the input resistance looking to the right of Rs is rif then Rif=(rif*Rs)/(rif+Rs)
rif=(Rif*Rs)/(Rs-Rif);

disp('K',Rs+rif,'The impedence seen by the voltage source=Rif=');

Ro=40;//in K
r=40;//in K

Rm = -(hfe*r*R)/(R+hie);
Rof=Ro/(1+(B*Rm));
//We are writting Rof' = rof
rof=(Rof*Rc)/(Rof+Rc);
disp('K',rof,'rof=');

//End