summaryrefslogtreecommitdiff
path: root/2459/CH17/EX17.7/Ex17_7.sce
blob: 206c8d9838a40eaad5c959d10f3940c8c524a338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//chapter17
//example17.7
//page387

L=1 // H
C=0.01d-12 // F
Cm=20d-12 // F

fs=1/(2*%pi*(L*C)^0.5)
Ct=C*Cm/(C+Cm)
fp=1/(2*%pi*(L*Ct)^0.5)

printf("series resonant frequency = %.3f Hz  or %.3f kHz\n",fs,fs/1000)
printf("parallel resonant frequency = %.3f Hz or %.3f kHz\n",fp,fp/1000)

// in book the answer given is 1589 kHz for series resonant frequency but the accurate answer is 1591.549 kHz
// in book the answer given is 1590 kHz for parallel resonant frequency but the accurate answer is 1591.947 kHz