grandes-ecoles 2021 Q1

grandes-ecoles · France · centrale-maths2__pc Numerical integration Quadrature Formula Construction and Order Determination
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(0)$ and represent graphically the associated error $e(f)$.
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(0)$ and represent graphically the associated error $e(f)$.