GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 23

Composite trapezoidal integration

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

GATE 2013, Q23 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 23, GATE 2013: For x=0,.3,.6,.9, 1.2, 1.5, 1.8, 2.1, 2.4, 2.7, 3.0, the ordinates are 0,.09,.36,.81, 1.44, 2.25, 3.24, 4.41, 5.76, 7.29, 9.00. Approximate the integral from 0 to 3 using the trapezoidal rule. A8.983, B9.003, C9.017, D9.045.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

The spacing is h=.3. The nine interior ordinates sum to 25.65. The composite trapezoidal estimate is .3[(0+9)/2+25.65]=.3×30.15=9.045, D.

Each interval contributes its width times the average of its two endpoint heights. On adding ten intervals of equal width.3, each interior ordinate is counted twice inside the half-weighted sum, while endpoints appear once. Thus use .3[(f(0)+f(3))/2+Σ interior values]. The interior sum .09+.36+.81+1.44+2.25+3.24+4.41+5.76+7.29 is 25.65, giving 9.045. Although these ordinates equal x², the question asks the trapezoidal estimate, not the exact integral 9.

Original paper, page 5 · Answer key