Show that $y(x, t)=\sin (x) \cos (c t)+\frac{1}{c} \cos (x) \sin (c t)$ satisfies the one-dimensional wave equation, together with the boundary conditions
$$
y(0, t)=y(2 \pi, t)=\frac{1}{c} \sin (c t) \quad \text { for } t>0
$$
and the initial conditions
$$
y(x, 0)=\sin (x), \frac{\partial y}{\partial t}(x, 0)=\cos (x) \text { for } 0<x<\pi
$$