In the case $I = [0,1]$ and $\forall x \in I, w(x) = 1$, we seek to approximate $\int_0^1 f(x)\,\mathrm{d}x$ when $f$ is a continuous function from $[0,1]$ to $\mathbb{R}$.
Determine the order of the quadrature formula $I_0(f) = f(1/2)$ and represent graphically the associated error $e(f)$.