The following applet shows the superposotion of two waves.
Blue curve represent wave move in x direction: y(t)=A*sin(k*x-w*t);
where k=wavelength/(2*pi),  w=period/(2*pi)

Green curve represent wave move in +x or -x direction: y(t)=A*sin(k*x-w*t+phi) or y(t)=A2*sin(k*x+w*t+phi) :Click checkbox[b]same V[/b] to select the first one.

Cyan curve is the sum of the above two waves.

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/wavesuperposition_pkg/wavesuperposition.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1338.9kB):double click downloaded file to run it. (102 times by 45 users) , Download EJS source (8 times by 6 users) View EJS source