The GATE Grind

GATE 2025 ME – Question 31

Engineering Mathematics · Numerical Methods: Algebraic equations, integration by trapezoidal and Simpson rules, ODE methods · 1 mark · Numerical answer

The values of a function $f$ obtained for different values of $x$ are shown in the table below.

$x$00.250.50.751.0
$f(x)$0.92.01.51.80.4

Using Simpson's one-third rule,

$$\int_0^1 f(x)\,dx \approx \_\_\_\_\_\_ \text{ (rounded off to 2 decimal places).}$$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 1.62 to 1.64

Explanation

With $h = 0.25$, Simpson's one-third rule gives $\frac{h}{3}\left[f_0 + 4f_1 + 2f_2 + 4f_3 + f_4\right] = \frac{0.25}{3}\left[0.9 + 8.0 + 3.0 + 7.2 + 0.4\right] = \frac{0.25}{3} \times 19.5 = 1.625$, which rounds to 1.63.