summaryrefslogtreecommitdiff
path: root/929/CH4/EX4.12/Example4_12.sce
blob: 0848b34e12a0d2637b25b10a59ea5b2006d1445d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//Example 4.12

clear;

clc;

fck=100*10^3;

f0=1*10^3;

Ctotmax=100*10^(-12);

C1=1*10^(-12);//Assumed

C2=C1*(fck/(2*%pi*f0));

Q=0.707;

C3=C1*(1/Q);

printf("Designed Switched Capacitor Biquad Filter :");

printf("\nC1=%.2f pF",C1*10^12);

printf("\nC2=%.2f pF",C2*10^12);

printf("\nC3=%.2f pF",C3*10^12);