blob: 6ce3295da17e985083c1f1aba8c1c47c4cc3cf01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//chapter17
//example17.5
//page382
R=220d3 // ohm
C=250d-12 // F
f=1/(2*%pi*R*C)
printf("frequency of oscillations = %.3f Hz",f)
//in book the answer given is 2892 Hz but the accurate answer is 2893.726 Hz
|