summaryrefslogtreecommitdiff
path: root/3754/CH29/EX29.5/29_5.sce
blob: b43ef2c8f1a1bdd1082072912d14e61ba97a4512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear//

//Variables

Av = 60.0                       //Voltage gain
A1v = 80.0                      //Voltage gain with negative feedback

//Calculation

beta = (1 - Av/A1v ) / Av       //feedback ratio 
beta1 = 1/Av                    //feedback ratio which causes oscillation

//Result

printf("\n Value of feedback ratio is  %0.3f .\nThe percentage of feedback which causes oscillation is  %0.1f percentage.",beta,beta1*100)