Physics
y₁ = A₁ sin(kx − ωt)
y₂ = A₂ sin(kx − ωt + φ)
y = y₁ + y₂
Constructive interference happens when two waves are in phase, so the resultant amplitude becomes larger.
Destructive interference happens when they are out of phase by π radians, so the waves cancel.
Use the phase slider to move smoothly between constructive and destructive interference.