and for B it is y = A sin (kx – omega t). It is clearly shown in the figure