Weighted Polynomial Approximation and Numerical Methods for Integral Equations