The orthogonal Chebyshev polynomials are commonly used to approximate functions. The approximation accuracy is dependent on the nature of the approximated function, its domain, the Chebyshev series degree, and the number sampling nodes. In this paper, we show how to optimally choose the degree of Chebyshev expansion to achieve a prescribed accuracy. The error is estimated by comparing the value of the function and its Chcbyshcv-bascd approximation at equidistant nodes. For regular functions, a quasi-linear relation could be constructed between the number of accurate significant figures of the interpolated values at uniform nodes and the degree of the Chebyshev series. Moreover, the paper studies the generalization of this quasi-linear relation for irregular functions.
展开▼