summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.7/6_7.sci
blob: 246def922fc65245c1a6c81e11b6e047d2a721e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// calculating gain and feedback resistance
clc;

Rf=100*10^3;
R1=1*10^3;
A=Rf/R1;
disp(A,'Gain=')
disp('If multiplier is 10')
A=10;
Rf=A*R1;
disp(Rf, 'feedback resistance (Ohm)=')