summaryrefslogtreecommitdiff
path: root/3754/CH29/EX29.9/29_9.sce
blob: 18a83e782316a59d6350eae61d7ac28a78b4e238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear//

//Variables

Av = 100.0                    //Voltage gain without feedback
BW = 200.0 * 10**3            //Bandwidth without feedback (in Hertz)
beta = 0.05                   //Feedback ratio
BWn = 1.0 * 10**6             //New bandwidth without feedback (in Hertz)

//Calculation

BW1 = (1 + beta*Av) * BW      //Bandwidth with feedback (in Hertz)  
A1v = Av/(1 + beta*Av)        //Voltage gain with feedback
beta1 = (BWn/BW - 1)/Av       //Amount of feedback required 

//Result

printf("\n The new bandwidth is  %0.3f  kHz.\nThe new gain is  %0.1f .",BW1*10**-3,A1v)
printf("\n Amout of feedback required when BW = 1MHz is  %0.3f percentage.",beta1 * 100)