The equation of a simple harmonic wave is given as y=Asin(ωt−kx)
This equation gives the displacement curve (shape of a string in which transverse wave is propagating) as well as it gives the displacement of a particle at position x as a function of time t.