Numerical Methods

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.