approximating solutions of boundary value problems