IAE Academy

GATE 2024 BT Q.65: solution and answer

GATE 2024 · BTQ.65 · 2 marks · NAT

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).

See the question in the paper

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)

  1. The step size is , so the nodes are and is evaluated at each.

  2. Trapezoidal rule with : .

  3. .

  4. Exact value: .

  5. Absolute relative error .

  6. 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