GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 4.10

Trapezoids guaranteed by an error bound

Engineering Mathematics & Other Topics · Numerical Methods · Full GATE CSE 1997 paper

GATE 1997, Q4.10 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 4.10, GATE 1997: Approximate ln7=integral from 1 to 7 of 1/x using uniform trapezoids. Given bound (b−a)h² max|f″|/12, find minimum count guaranteeing error≤10^−4.
Tap to enlarge
Your answer
Answer & solution

Answer: C: 600 by the supplied bound (no official key was published)

For f (x)=1/x, f″(x)=2/x³, whose maximum on[1, 7] is 2. With N trapezoids, h=6/N. The error bound becomes (6/12)·(36/N²)·2=36/N². Requiring 36/N²≤10−4 gives N²≥360000 and N≥600. Thus C is the smallest integer certified by this bound. The actual error can be smaller than the bound; the question asks a guarantee from the supplied estimate, not the smallest empirically sufficient count.

Original paper, page 4