Simpson's Rule is another method for numerical integration that generally provides more accurate results than the Trapezoidal Rule. It uses parabolic arcs, instead of straight-line segments, to approximate the area under the curve.The process for applying Simpson's Rule is as follows:
- The interval of integration is divided into an even number of subintervals, determined by \( n \).
- The width of each subinterval, \( h \), is determined similarly to the Trapezoidal Rule by dividing the interval range by \( n \).
- To estimate the integral, calculate: \( \frac{h}{3} [ f(a) + 4f(x_1) + 2f(x_2) + 4f(x_3) + \ldots + 2f(x_{n-2}) + 4f(x_{n-1}) + f(b) ] \).
- The coefficients (1, 4, 2, etc.) alternate between the points, reflecting the curvature of the parabola passing through them.
In Simpson’s Rule, you can observe that endpoints \( f(a) \) and \( f(b) \) are given weights of 1, while odd-multiple points like \( f(x_1), f(x_3), ... \) are multiplied by 4, and even-multiple points like \( f(x_2), f(x_4), ... \) by 2. With \( h = 0.5 \) for our specific problem, this method provides a refined estimate over the subintervals.