### Wave 1D

Solves the one-way wave equation using the position Verlet or Forest-Ruth algorithms.

$$
\frac{\partial^2 U}{\partial t^2} - c^2\frac{\partial^2 U}{\partial x^2} = 0
$$

where $U=u(x,t)$ defined on the domains $x\in[0,1]$ and $t\in[0,1]$, and wave speed $c=2$. Initial position and velocity are given as

$$
u(x,0) = \sin(\pi x)
$$

$$
u'(x,0) = 0
$$

---

This example is implemented in:
- [MATLAB/ OCTAVE](https://github.com/csrc-sdsu/mole/blob/main/examples/matlab_octave/wave1D.m)

Additional MATLAB/ OCTAVE variants:
- [Wave 1D Case 2](https://github.com/csrc-sdsu/mole/blob/main/examples/matlab_octave/wave1D_case2.m)
- [Wave 1D with Time-Varying BC](https://github.com/csrc-sdsu/mole/blob/main/examples/matlab_octave/wave1DTimeVaryingBC.m)
