If the output of
xi = linspace(0, 2, 9); yi = xi.ˆ(5/2);
max(abs(spline(xi, yi, x) - y))
is
ans =
9.7534e-04
can you say something about the expected output of
xi = linspace(0, 2, 17); yi = xi.ˆ(5/2);
max(abs(spline(xi, yi, x) - y))
What can we say? What’s special about x^(5/2)?