Example 1. Compare the "discrete interpolation polynomial" and "discrete least squares approximation" using equally spaced nodes on the interval . 1 (a). Use the function .
Solution 1 (a).
(c) John H. Mathews 2005