summaryrefslogtreecommitdiff
path: root/2459/CH16/EX16.5/Ex16_5.sce
blob: cd9b904dffe6b5e6caaf87caa0e560de8aa0196e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//chapter16
//example16.5
//page347

Av=50
Avf=25

// since Avf=Av/(1+Av*mv), we get
mv=(Av/Avf-1)/Av

// without feedback, gain falls from 50 to 40
Av1=50
Av2=40
reduction1=100*(Av1-Av2)/Av1

// with feedback
Av3=25
Av4=Av2/(1+mv*Av2)
reduction2=100*(Av3-Av4)/Av3

printf("percentage reduction in gain : \n with feedback = %.3f percent \n ",reduction1)
printf("without feedback = %.3f perent",reduction2)