Sorry, you need a Java-enabled browser to see the simulation.
This java applet demonstrates Fourier series, which is a method of expressing an arbitrary periodic function as a sum of cosine terms. In other words, Fourier series can be used to express a function in terms of the frequencies (harmonics) it is composed of.

To select a function, you may press one of the following buttons: Sine, Triangle, Sawtooth, Square, and Noise. The function is displayed in white, with the Fourier series approximation in red. You can edit the function directly by clicking on it.

This applet has sound if you are using java 2. If you don't see a "Sound" checkbox, then you should get the Java plug-in.

Index of examples.

Full Directions.

Zip archive of this applet.

Digital Filters Applet.

More applets.

The source.

Version 1.6b, posted 9/9/08