blob: a6f0d9a3156c027ad6662a8a113ce08d9195645d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear//
//Variables
A1v = 100.0 //Voltage gain with feedback
dA1vbyA1v = 0.01 //Percentage change in closed loop gain
dAvbyAv = 0.20 //Percentage change in open loop gain
//Calculation
betamultAvplus1 = dAvbyAv/dA1vbyA1v //Product of feedback ratio and voltage ratio plus one
Av = A1v * betamultAvplus1 //Voltage gain without feedback
beta = betamultAvplus1 / Av //Feedback ratio
//Result
printf("\n The value of Av is %0.3f .\nThe value of beta is %0.3f .",Av,beta)
|