blob: e772d2f9a76e213376ffdfdfe188445651b0ae0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//chapter17
//example17.4
//page381
R=1d6 // ohm
C=68d-12 // F
fo=1/(2*%pi*R*C*(6)^0.5)
printf("frequency of oscillations = %.3f Hz",fo)
// in book the answer given is 954 Hz but the accurate answer is 955.511 Hz
|