I am working on a PDE problem like this:
Consider the wave equation with homogeneous Neumann-Dirichlet boundary conditions:
##\begin{align}
u_{tt} &= c^2U_{xx}, &&0<x<\mathscr l, t > 0\\
u_x(0, t) &=u(\mathscr l, t) = 0, &&t > 0\\
u(x, 0) &=f(x), &&0<x< \mathscr l\\
u_t(x, 0) &=g(x), &&0<x<...