The absolute relative error in evaluating the integral by the trapezoidal rule with the step size 0.25 is ________ % (rounded off to 2 decimal places).
GATE 2024 BT Q.65: solution and answer
Answer and solution
ANSWER
The absolute relative error of the trapezoidal rule with step size 0.25 is 3.125%, which rounds to 3.13%.
Official answer: 3.11 to 3.13Source: Official answer key, GATE 2024 BT (IISc Bengaluru)
The step size is , so the nodes are and is evaluated at each.
Trapezoidal rule with : .
.
Exact value: .
Absolute relative error .
As a percentage this is , which is to 2 decimal places.
KEY IDEA
Apply the composite trapezoidal rule with the given step, compare it with the exact integral , and express as a percentage. The trapezoidal rule overestimates for a convex function such as .
WATCH OUT FOR
Dividing the error by the trapezoidal estimate instead of the exact value, or quoting the absolute error (0.0104) instead of the relative error as a percentage. Another slip is to leave out the factor 2 on the interior ordinates.
From the GATE 2024 BT paper. Every question of this paper · Download the full paper · All 13 Numerical methods questions, with notes
More Numerical methods questions
- 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…
- GATE 2022 BT Q.30 · NAT · 1 markConsider a nonlinear algebraic equation, x ln x + x - 1 = 0. Using the Newton-Raphson method, with the…
- GATE 2022 BT Q.47 · MSQ · 2 marksConsider the ordinary differential equation dy/dx = f(x,y) = 2x^2 - y^2.
- GATE 2022 IN Q.34 · NAT · 1 markThe Newton-Raphson method is applied to determine the solution of f(x) = 0 where f(x) = x - cos (x).
