Project 1
Suppose you are to make a table of values of log(x), 1/2 < x < 3/2, on an equally spaced mesh of width 1/(N+1) for some positive integer N. Assume that the polynomial itnerpolation will be applied to the table, and that the maximum error in inteprolation is to be at most 10^-6. What value of N should you choose?
This program computes that the value of N is equal to 10. At N=10, the error looks like
The maximal error as a function of N is