Example 1: Estimating an integral with 4 strips
Use the trapezoidal rule with 4 subintervals to estimate ∫01 ex² dx, and determine whether the estimate is an over-estimate or an under-estimate.
h = (1 − 0)/4 = 0.25y₀ = 1,y₁ = e0.0625 ≈ 1.0645,y₂ = e0.25 ≈ 1.2840,y₃ = e0.5625 ≈ 1.7551,y₄ = e ≈ 2.7183(0.25/2)[1 + 2(1.0645 + 1.2840 + 1.7551) + 2.7183] ≈ 1.4907d²y/dx² = (2 + 4x²)ex² > 0, so the curve is concave upwards
Answer: ≈ 1.4907, an over-estimate