The GATE Grind

GATE 2020 MA – Question 29

Numerical Analysis · Numerical Differentiation and Integration · 1 mark · Numerical answer

The quadrature rule $\int_{-1}^1f(x)dx\approx af(-1)+bf(0)+cf\prime(1)$ is exact for polynomials of degree at most 2. Find b, to two decimal places.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 1.70 to 1.80

Explanation

Apply the rule to 1, x and x². Exactness gives $a+b=2$, $-a+c=0$ and $a+2c=2/3$. Hence c = a and 3a = 2/3, so a = c = 2/9. It follows that $b=2-2/9=16/9=1.77778$, rounding to 1.78.

More Numerical Differentiation and Integration questions

All Numerical Differentiation and Integration questions →