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