Univariate approximation on interval [a,b]