I'm not sure how to start this PDE since the initial and boundary conditions are nonzero. May someone point me in the right direction?
This is the problem:
$$u_{tt} = u_{xx}$$ $$u(x,0) = \frac{1}{2+ \sin(x)}$$ $$u_t(x,0) = -\frac{\cos(x)}{(2+ \sin(x))^2}$$ $$u(0,t) = u(2\pi,t)= \frac{1}{2+ \sin(t)}$$
Hint: The general solution of the 1D wave equation is $u(x,t)=F(x+t)+G(x-t)$.