Wave Adder


Above is Wave Adder 1. Press the Draw button. Then, press the Add button. That is how it works. What follows are the details of its operation.

The black section to the right, which covers most of the wave adder, is the graphing area where waves will be added.

The red lines show the x and y axes. The x-axis, at first not visible since it is covered by the white line, stretches from negative two pi to positive two pi. The y-axis goes from a minimum of -20.0 to a maximum of 20.0.

The white line, or white wave, is the current sum of all the waves that have been added. At first all the amplitudes of the white wave are zero, so, it lies along the x-axis, covering it.

The yellow line, at first not visible, represents the wave about to be added. At first, this yellow wave is not visible, since it has not yet been drawn.

A green border surrounds the graph whenever an addition, or subtraction, has finished. At the start, this border is visible.

The Amplitude, Frequency, and Phase Shift input fields allow you to type in these parameters for the yellow wave, which is about to be added or subtracted from the white wave, or current sum.

The Sine and Cosine radio buttons determine what trigonometric function the yellow wave will be based upon.

The Draw button draws the wave which is about to be added, that is, the yellow wave. If you press the Draw button and discover that you have drawn a wave that you do not want, just reenter another set of parameters and press the Draw button again until you get this wave set how you want it.

The Add button adds the yellow wave to the current sum, or white wave. The additions sweeps smoothly from the left to the right.

The Subtract button subtracts the yellow wave from the current sum, or white wave. The subtraction sweeps like the addition.

The Reset button gets the wave adder back to its original state, but does not reset any of the parameters for the yellow wave. It leaves those how you last set them.