summaryrefslogtreecommitdiff
path: root/74/CH3/EX3.19/example19_sce.sce
blob: 35f0a89a6785cd21f08813a153a8a2a006ef5f10 (plain)
1
2
3
4
5
6
7
8
9
// chapter 3
//example 3.19
//page 163, figure 3.73
R1=200;R2=100;Rf=100*10^3;//given
Rg1=100+0;//potentiometer resistance is 0 at start
gain1=((1+2*(Rf/Rg1))*(R2/R1));
Rg2=100+100*10^3;//potentiometer maximum value
gain2=((1+2*(Rf/Rg2))*(R2/R1));
disp(gain1,gain2)// range of gain