summaryrefslogtreecommitdiff
path: root/74/CH3/EX3.20/example20_sce.sce
blob: 70d02b02273698a5796ea98d8c9d01359d85bed0 (plain)
1
2
3
4
5
6
7
8
// chapter 3
// example 3.20
//page 164,figure 3.74
R1=100*10^3;R2=100*10^3;Rf=470;//given
// gain=(1+2Rf/Rg)(R2/R1)
gain=100;//given
Rg=(((gain/(R2/R1))-1)\(2*Rf));
disp(Rg)//result for Rg so that gain is 100