Numerical methods and approximation theory