Adding Simple Harmonic Waves II

Although the formulas inside this applet are correct for any values you inputs, the display is discretized and will not display the waves properly if you deviate too far from the default values (e.g. for choices which require resolutions less than the size of a pixel).
Original applet