summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.2/6_2.sci
blob: 95ae59884e8b45a5e9e28530b75c0f7ff7b35a88 (plain)
1
2
3
4
5
6
7
// calculating the closed loop gain
clc;
Rf=10;
R1=1;
Avol=200000;
A=-(Rf/R1)*(1/[1+(1/Avol)*((R1+Rf)/R1)]);
disp(A,'closed loop gain=')