summaryrefslogtreecommitdiff
path: root/1595/CH1/EX1.14/ex1_14.sce
blob: 77113e1b003da659c9f562229d75505687e0a157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Introductory Topics :example 1-14 : (pg no. 42)
R=2;
L=3*10^-3;
C=0.47*10^-6;
x=(2*%pi*sqrt(L*C));
y=1/x;
XL=(2*%pi*y*L);
Q=(XL/R);
Z=((Q^2)*R);
BW=(R/(2*%pi*L));
//part(a) : resonant frequency
printf("\nfr = 1/2.pi.sqrt(LC) = %.f Hz",y);
//part(b) : Quality factor
printf("\nQ = XL/R \n XL =2.pi.f.L \nXL = %.1f Ohm",XL);
printf("\nQ = %.1f",Q);
//part(c) : maximum impedance
printf("\nZmax = Q^2*R = %.f Ohm",Z);
//part(d) : Bandwidth
printf("\nBW = R/2.pi.L = %.f Hz",BW);