summaryrefslogtreecommitdiff
path: root/74/CH7/EX7.4/example4_sce.sce
blob: b458381d5510be130574deedbd4ca6c6504eea44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 7
//example 7.4
//page 277
C=.05*10^-6;// let choose capacitor C<1uf
C1=C;C2=C;
f=1000;
R=1/(2*3.14*f*C);
disp(R)
//for proper operation gain of non inverting op-amp must be 3
R4=%s
R3=R4*(3-1);//1+R3/R4=3
disp(R3)
R4=10000;// assume
R3=2*R4
disp(R3,R4)