Chapter-22 Integration of Equations: Numerical Methods For Chemical Engineers CHE F242
Chapter-22 Integration of Equations: Numerical Methods For Chemical Engineers CHE F242
Chapter-22 Integration of Equations: Numerical Methods For Chemical Engineers CHE F242
Integration of Equations
• For two separate estimates using step sizes of h1 and h2 and have
exact values for the error,
I(h1) + E(h1) = I(h2) + E(h2)
• Richardson’s Extrapolation:
Error for multiple application trapezoidal rule E(h)≈-(b-a) h2 f” /12.
It is assumed that f” is constant regardless of step size, So the ratio of the
two errors will be
Solution: Equation
+ O(h2k)
where Ij+1,k−1 and Ij,k−1 = the more and less accurate integrals,
respectively, and Ij, k = the improved integral.
• The index k signifies the level of the integration, where k = 1
correspond to the original trapezoidal rule estimates, k = 2
corresponds to O(h4), k = 3 to O(h6), and so forth.
• The index j is used to distinguish between the more ( j + 1) and
the less ( j) accurate estimates.
• Stopping Criterion
– An estimate of percent relative error:
8 1.484800 1.639467
1.600800
Gauss Quadrature
• Gauss quadrature (also referred as Gauss-Legendre
quadrature) evaluates the area under a straight line joining in
any two points of curve (* unlike trapezoidal rule that must
pass through the end points)
• The approach can be extended to ‘n’ base points
• By positioning these points wisely, the positive and negative
errors are balanced and an improved integral estimate results.
Gauss Quadrature
• The technique is described by
where the c’s = constants and xi’s are the appropriate base
points, that can be evaluate by ‘method of undetermined
coefficients’
• The given function f(x) with limits [a,b] is modified
to f(z) with limits [-1,1] as:
Method of Undetermined Coefficients
• Integrating the two equation (from equalities)
Method of Undetermined Coefficients
• The method of undetermined coefficients
offers an approach that has utility in
deriving Gauss quadrature integration
technique.
• To illustrate the approach Trapezoidal rule
is expressed as:
The two
equalities
should hold :
Two-point Gauss-Legendre Formula
• , ,,
Solution: The function needs to modify in order to bring limits [-1 ,1]