Absorbing boundary conditions for the discretization schemes of the one-dimensional wave equation

When computing a partial differential equation, it is often necessary to introduce artificial boundaries. Here we explain a systematic method to obtain boundary conditions for the wave equation in one dimension, fitting to the discretization scheme and stable. Moreover, we give error estimates on the reflected part.