Trigonometric series approximation to a sound wave
The following function gives an approximation to the displacement curve for a single
tone played on an organ pipe:
x(t)=22.4sin(t)+94.1cos(t)+49.8sin(2t)−43.6cos(2t)+33.7sin(3t)−14.2cos(3t)+19.0sin(4t)−1.9cos(4t)+8.9sin(5t)−5.22cos(5t)−8.18sin(6t)−1.77cos(6t)+6.40sin(7t)−0.54cos(7t)+3.11sin(8t)−8.34cos(8t)−1.28sin(9t)−4.10cos(9t)−0.71sin(10t)−2.17cos(10t),
where t is in units of 1522π seconds, a frequency of 261 oscillations per second.
The demonstration below will plot the selected number of terms of x(t), where each term is of the
form asin(nt)+bcos(nt) for some real numbers a and b and positive integer n.
At the same time, the given tone is played. The fundamental is played at 261 cyles per second (middle C).
Number of terms:
See The Science of Musical Sounds (Macmillan, New York, 1926) by Dayton Miller for more details.