GATE 2023 XE — all source sections – Question 13
The quadrature $\int_{-1}^1 f(x)dx\approx[c_1f(-1)+c_2f(1/2)+c_3f(1)]/9$ is exact through degree2. Which relation is correct?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $c_1+c_2/4+c_3=6$
Explanation
Exactness for1, x, x² gives c1 + c2 + c3 = 18, − c1 + c2/2 + c3 = 0, and c1 + c2/4 + c3 = 6. Solving yields c1 = 5, c2 = 16, c3 = − 3. Thus c1 + c2/4 + c3 = 6, A. These weights follow the supplied nonsymmetric nodes and external1/9 factor.