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