The GATE Grind

GATE 2023 XE — all source sections – Question 13

Engineering Mathematics (XE0) · Numerical Methods · 1 mark · Multiple choice

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?

  1. $c_1+c_2/4+c_3=6$
  2. $c_1+c_2/3+c_3=4$
  3. $c_1+c_2/2+c_3=2$
  4. $c_1+c_2+c_3=5$

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.

More Numerical Methods questions

All Numerical Methods questions →