In looking for the standing wave equation y(x,t) I seem to be finding two variations.
The first variation is $y(x,t)=2A\sin(kx)\cos(\omega t)$ which I found on Wikipedia and other sites, which has a sine and a cosine.
The second variation is $y(x,t)=2A\sin(kx)\sin(\omega t)$ which I found here (scroll to 1.5.6) and on other sites. It has two sines.
It seems like all of the websites with the first variation derive the equation from the superposition of two sine waves whereas the websites with the second variation derive the equation from the superposition of two cosine waves but I don't see how that would result in a different end result.
Which is the correct variation? Or is there some factor I'm missing that differentiates the two and makes them both correct?