1 2 3 4 5 6 7 8 9 10
//chapter10 //example10.5 //page192 L=1d-3 // H C=100d-12 // F fr=1/(2*%pi*(L*C)^0.5) printf("resonant frequency = %.3f Hz or %.3f kHz",fr,fr/1000)