Plots the number of iterations and the polynomial fit as a function of n. Also computes the relative error between the two.