\section{NUMERICAL DIFFERENTIATION} The problem of computing derivatives is inherently unstable. To see this, consider computing $f'(x_0)$ using the definition: $$f'(x_0)=\lim_{h\rightarrow 0}{f(x_0+h)-f(x_0)\over h}.$$ In floating-point arithmetic, as $h\to 0$, there will be serious cancellation in the difference $f(x_0+h)-f(x_0)$, which is therefore calculated with a large absolute error. Then the division by a small $h$ results in an even larger absolute error. For $h$ small enough, the computed number fl$\bigl[(f(x_0+h)-f(x_0))/h\bigr]$ is meaningless. Intuitively, differentiation accentuates small errors, whereas integration damps them out. {\bf Ways to approximate} $f'(x)$: \item{1)} Interpolate $f$ at $x_0$, $\ldots$, $x_n$ by a polynomial $P_n$ and use $P_n'(x)$. The error in this case is $$f^{(k)}(x)-P_n^{(k)}(x)={f^{(n-k+1)}(\zeta)\over (n-k+1)!} \prod_{i=0}^{n-k} (x-\zeta_i),$$ where $x_i\le \zeta_i\le x_{i+k}$ and $\zeta$ is in the smallest interval containing $x_0$, $\ldots$, $x_n$, $x$. \item{2)} Interpolate $f$ at $x_0<\cdots0$ let $\displaystyle D_hf={f(x+h)-f(x)\over h}$. Then $$\displaylines{ \eqalign{f'(x)&=D_hf+a_1h+a_2h^2+\cdots+{\cal O}(h^k)\cr f'(x)&=D_{qh}f+a_1(qh)+a_2(qh)^2+\cdots+{\cal O}(h^k)\cr} \qquad\Longrightarrow\cr f'(x)={qD_hf-D_{qh}f\over q-1}+a_2^*(qh)^2+a_3^*(qh)^3+\cdots+ {\cal O}(h^k)=D_{qh}^*f+a_2^*(qh)^2+\cdots+{\cal O}(h^k).\cr}$$ Thus $D_{qh}^*$ is a better approximation than $D_hf$ to $f'(x)$. $q$ can be anything, but is usually taken to be 2. Now applying the same process to $D^*$ gives $$\displaylines{ \eqalign{f'(x)&=D_{qh}^*f+a_2^*(qh)^2+a_3^*(qh)^3+\cdots\cr f'(x)&=D_{q^2h}^*f+a_2^*(q^2h)^2+a_3^*(q^2h)^3+\cdots}\qquad \Longrightarrow\cr f'(x)={q^2D_{qh}^*f-D_{q^2h}^*f\over q^2-1}+a_3^{**}(q^2h)^3+\cdots =D_{q^2h}^{**}f+{\cal O}(h^3).\cr}$$ This process can be continued if $f$ is sufficiently differentiable to get better and better approximations (at least higher order approximations). The resemblance of this process to Romberg integration is clear, and these are examples of a general procedure called {\it extrapolation to the limit}. \noindent{\bf Theorem 1.} Let $A(y)=a_0+a_1y+a_2y^2+\cdots+a_ky^k+{\cal O}(y^{k+1})$, $y>0$. Let $0