Here's a numerical analysis question which may not be very important, especially in practice, but has been bugging me.
Suppose $f$ is a continuous function on an interval $[a,b]$. Let $T_n(f)$ be the approximation to $\int_a^b f$ using the trapezoid rule with $n$ subintervals of equal length, and $E_n(f)$ the error $\int_a^b f-T_n(f)$. Simple examples show that $|E_n(f)|$ does not necessarily decrease monotonically as $n$ increases, even if $f$ is a polynomial, although $|E_n(f)|\to0$ if $f$ is continuous. The question is: if $f$ is a polynomial, does $|E_n(f)|$ eventually (for large enough $n$) decrease monotonically? What if $f$ is merely smooth? Some smoothness is obviously needed: consider $\int_{-1}^1 |x|\,dx$. The same question can be asked about the midpoint rule or other schemes.