The equation of two waves having the same amplitude, wavelength, and speed but propagating in opposite directions is

Where a is the amplitude, λ is the wave-length and v is the velocity of the wave. A stationary wave is formed due to the superposition of these two waves. The resultant displacement of a particle is given by,
y = y1 + y2

where A = 2a cos \(\frac{2π }{λ}x\) represents the amplitude of the resultant wave.