\subsection{\bf Formulae for Examples:}
\subsection{\bf Trapezoidal and Simpson's Rules}

\begin{slide}

\begin{itemize}
\item {\bf (a) Trapezoidal Rule}

$$
n=1,\ g(x)=1 \ \ \ \ \ x_0=a,\ x_1=b
$$

$$
\int^b_a f(x)\,dx \approx {h\over 2} [+ f(a) + f(b)]\ \ \
h=b-a \eqno\hbox{(NI.6)}
$$
\vspace{10pt}

\item {\bf (b) Simpson's Rule}

$$
n=2,\ g(x)=1 \ \ \ \ \ x_0=a,\ x_1={1\over 2}(a+b),\ x_2=b
$$

$$
\int^b_a f(x)\,dx = {h\over 3} [f(x_0) + 4f(x_1) + f(x_2)] \eqno\hbox{(NI.7)}
$$

where $h={1\over 2} (b-a)$
\end{itemize}

\end{slide}

