
30
Fortran Programs for Chemical Process Design
Xi+ 1 : X i --]-
f(xi+ l)
X i -- Xi_ 1
f(x,) - f(x,_,)
(1-91)
The advantages of this method are that it offers rapid convergence
without requiring the first derivative. Convergence is between linear
and quadratic, i.e., a power ranging from 1 to 2. The value is an ap-
proximation of the tangent of the secant. The value depends upon the
steepness of the curve. Because the denominator always approaches
zero near the root, this method is prone to instability. It also requires
two initial estimates to start.
INTERPOLATIONS
Experimental and physical property data sometimes require values
of their unknown functions that correspond to certain values of their
independent variables. In certain cases, we may want to determine the
behavior of the function. Alternatively, we may want to approximate
other values of the function at values of the independent variables that
are not tabulated. We can achieve these objectives either by interpola-
tion or extrapolation of a polynomial that fits a selected set of points of
both variables (xi, f(xi)). Also, we can assume after finding a polyno-
mial that fits a selected set of points (xi, f(xi) that the polynomial and the
function behave over a given interval in question. The values of the
polynomial will be estimates of the values of the unknown function.
Generally, the experimental data are approximated by a polynomial,
the degree of which can often be calculated by constructing a difference
table. The difference column that gives approximate constant value shows
the degree of the polynomial that can be fitted to the data. When the poly-
nomial is of the first degree, we have a linear interpolation. For polynomi-
als of higher degrees, we can approximate functions if we construct a table
with wider spacing. Such a table is known as a difference table.
A Difference Table
We can obtain a table of values, if the dependent variable f(x) is a
function of the independent variable X. If we let h be the uniform differ-
ence in the x-values, h - Ax, we can define the first differences of the
function as: