The displacement due to a wave moving in the positive x-direction is given by at time t = 0 and by at t = 2 seconds, where x and y are in metres. The velocity of the wave in m/s is
In a wave equation, x and t must be related in the form .
We rewrite the given equations
For t = 0, this becomes , as given
For t = 2, this becomes
.