Exercise · ZW-GAUSSIAN-QUADRATURE-010 · ★★★ Advanced
Using the 2-point Gaussian rule after mapping \([0,2]\) to \([-1,1]\), what is \(\int_0^2 x^3\,dx\)? Use \(x=t+1\) with \(t\in[-1,1]\).
Choose one option.
Show answer
- D. \(4\)
Exercise · ZW-GAUSSIAN-QUADRATURE-010 · ★★★ Advanced
Choose one option.
The scale factor is 1 and f at the shifted nodes, \((1\pm 1/\sqrt{3})^3\), sums to \(4\), matching the exact value because the degree is 3. Skipping the change of variable leads to values such as \(2\) or \(8\).
Numerical integration method that chooses optimal nodes \(x_i\) and weights \(w_i\) to approximate an integral with the highest possible accuracy for a fixed number of function evaluations.