Write out explicitly the sum (18.1.1) for the integral of function \(f\) over the rectangle \(R = [-2,2]\times [-1,1]\) using the simple Simpson’s rule in both variables.
Answer.
In the \(y\) direction, the evaluation points are \(-1, 0, 1\) with the weights \(1/3, 4/3, 1/3\text{.}\) In the \(x\) direction, the evaluation points are \(-2, 0, 2\) with the weights \(2/3, 8/3, 2/3\text{.}\) So the sum has 9 terms:
\begin{equation*}
\iint_R f(x, y)\,dA \approx
\frac{2}{9} (f(-2,-1) + 4f(0,-1) + f(2,-1) + 4f(-2,0) + 16f(0,0) + 4f(2,0) + f(-2,1) + 4f(0,1) + f(2,1))
\end{equation*}
