Numerical methods for approximating eigenvalues of boundary value problems