Exercise · ZW-GAUSSIAN-QUADRATURE-006 · ★★☆ Intermediate
Apply the 2-point rule (nodes \(\pm 1/\sqrt{3}\), weights 1) to \(\int_{-1}^{1} x^2\,dx\). What do you get?
Choose one option.
Show answer
- D. \(2/3\)
Exercise · ZW-GAUSSIAN-QUADRATURE-006 · ★★☆ Intermediate
Choose one option.
With weights 1 the sum is \((1/\sqrt{3})^2+(-1/\sqrt{3})^2=2/3\), which equals the exact value. Doubling each weight is a common mistake and gives \(4/3\).
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.