summaryrefslogtreecommitdiff
path: root/2045/CH11/EX11.7/Ex11_7.sce
blob: 2d56a78b93f10c8695870afe7b9ba2c8e60c582c (plain)
1
2
3
4
5
6
7
8
9
10
11
//pagenumber 519 example 7
clear
c=200*10^-12;//farad
c1=1000*10^-12;//farad
induct=100*10^-6;//henry
//(1) frequency
ceq=(c*c1)/(c+c1);
freque=1/(2*3.14*(sqrt(induct*ceq)));
disp("frequency   =   "+string((freque))+"hertz");//correction in the book
gaimin=c1/c;
disp("gain   =   "+string((gaimin)));