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

//Variables

Av = 100.0                     //Voltage gain
A1v = 20.0                     //Voltage gain with negative feedback  

//Calculation

beta = (Av/A1v - 1) / Av       //feedback ratio 

//Result

printf("\n The percentage of the negative feedback is  %0.3f",beta * 100)