Consider the equation . The value of the integral using trapezoidal method and interval is ________. (rounded off to two decimal places)
GATE 2026 BT Q.51: solution and answer
Answer and solution
ANSWER
The integral is approximately 0.70 (trapezoidal rule, h = 0.25).
Official answer: 0.69 to 0.71Source: Official answer key, GATE 2026 BT (IIT Guwahati)
Since , the integral becomes , so .
With on there are strips, with nodes .
Function values: , , , , .
Trapezoidal rule with step :
Interior sum: .
Rounded to two decimal places the value is . The exact value is slightly lower, as expected because is convex, so the trapezoidal rule overestimates.
KEY IDEA
Rewrite dy = (1/x) dx so the integral is of f(x) = 1/x over [1, 2], then apply the composite trapezoidal rule with h = 0.25 (four strips): (h/2)[f0 + f4 + 2(f1 + f2 + f3)].
WATCH OUT FOR
Using the wrong weights, such as doubling the end ordinates or leaving the interior ones single. Another slip is using Simpson's 1/3 rule (which gives about 0.6933) instead of the trapezoidal rule, or rounding the function values too early.
From the GATE 2026 BT paper. Every question of this paper · Download the full paper · All 13 Numerical methods questions, with notes
More Numerical methods questions
- GATE 2025 IN Q.37 · MCQ · 2 marksNewton-Raphson method is used to compute the inverse of the number 1.6.
- GATE 2024 BT Q.65 · NAT · 2 marksThe absolute relative error in evaluating the integral ∫_0^1 x^2 dx by the trapezoidal rule with the step…
- GATE 2024 IN Q.34 · NAT · 1 markConsider a system given by the following first order differential equation: dy/dt = y + 2t - t^2 where, y(0)…
- GATE 2023 EE Q.34 · NAT · 1 markIn the following differential equation, the numerically obtained value of y(t), at t = 1, is (Round off to 2…
