blob: 2c61fd4e3cafb932a6f794c471773a8a4c7d2a0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//chapter17
//example17.1
//page375
L1=58.6d-6 // H
C1=300d-12 // F
f=1/(2*%pi*(L1*C1)^0.5)
printf("frequency of oscillations = %.3f Hz or %.3f kHz",f,f/1000)
// in book the answer is 1199 kHz but the accurate answer is 1200.358 kHz
|