blob: 963b16fbe1973bdeb050b7e5961ed475900aad27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
Av = 1000.0 //Voltage gain
A1v = 10.0 //Voltage gain with negative feedback
//Calculation
beta = (Av/A1v - 1) / Av //feedback ratio
//Result
printf("\n The fraction of the output that is feedback to the input is %0.3f .",beta)
|