summaryrefslogtreecommitdiff
path: root/2582/CH3/EX3.22/Ex3_22.sce
blob: d54dca43f8e1efc068b62f8a849d0eb7db5e17dc (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex 3.22
clc;clear;close;
format('v',6);
f0=10*1000;//Hz(3-dB frequency)
DCgain=10;
R1=10;//kohm
R2=DCgain*R1;//kohm
C=1/(2*%pi*f0*R2*1000)*10^9;//nF
disp("Design values are :");
disp(R2,"Resistance R2(kohm): ");
disp(C,"Capacitance C(nF): ");