Length of copper pipe = 17.25 in.
First Impulse = 0.007 sec.
First echo of impulse = 0.010 sec.
Time interval between impulses = 0.010 sec. - 0.007 sec. = 0.003 sec.
Speed of sound = (17.25 in. * 2) / 0.003 sec. = 11500.00 in/sec = 958.33 ft/sec
Actual speed of sound = 1128 ft/sec
Deviation = 170 ft/sec
% error = 15.07 %
Metric Speed of Sound = 292.10 m/sec.
The amplitudes of the first five peaks of this recording
are:
peak 1: 0.585
peak 2: 0.296
peak 3: 0.167
peak 4: 0.095
peak 5: 0.065
The attenuations between these amplitudes respectively
are:
0.505
0.564
0.568
0.684
The average attenuation was: 0.580
The numbers in bold are the changes made to the code.
0.003 is the new frequency and 0.580 is the
new attenuation.
(map-chan (echo .003 .580))
The full code can be viewed at: IIR Code
The resulting wave forms are: