summaryrefslogtreecommitdiff
path: root/74/CH3/EX3.11/example11_sce.sce
blob: 8589940a6f9d633630b21fef14b4373879ad1800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 3
//example 3.11
//page 147
fa=150;fmax=150;//given
C1=1*10^-6;// assuming
Rf=1/(fa*2*%pi*C1);//fa=1/2piRfC1
disp(Rf)
fb=10*fa;// safe frequency
disp(fb)
R1=1/(2*%pi*fb*C1);//fb=1/2piC1R1
disp(R1)
Cf=((R1*C1)/Rf);//using R1C1=RfCf
disp(Cf)
Rcomp=(R1*Rf)/(R1+Rf);//rcomp=R1||Rf
disp(Rcomp)// generally Rcomp is selected equal to R1