Académique Documents
Professionnel Documents
Culture Documents
COEB223/MATB324
Stopping criterion:
Terminate computation when a < s where s is the desired percent relative error
Taylor Series
Taylor series expansion
where remainder
or
Error propagation
For n independent variables x1, x2, , xn having errors
function f can be estimated via
Page 1 of 8
, ,
Formulation
Bisection
False Position
If
set
If
set
If
set
If
set
Newton Raphson
Secant
LU decomposition
Decomposition
Back Substitution
Forward Substitution
Page 2 of 8
Gauss-Seidel method
With relaxation,
Formulation
Errors
where
where:
Polynomial
Regression
where
Page 3 of 8
where:
Multiple
Linear
Regression
For a two-variable linear fit,
where
where:
Newtons
divided
difference
interpolating
polynomial
or
where
Lagrange
interpolating
polynomial
where,
Page 4 of 8
Formulation
First Derivative:
First Derivative:
First Derivative
B. Numerical Integration
Method
Formulation
Trapezoidal rule
Multiple-application
trapezoidal rule
Page 5 of 8
Errors
Multiple-application
Simpsons 1/3 rule
Gauss Quadrature
Gauss-Legendre
For two-point Gauss-Legendre:
Change of variables:
Page 6 of 8
Formulation
Eulers First-Order RK
Page 7 of 8
Formulation
Elliptic PDEs
Liebmanns Method
Crank-Nicolson Method
Page 8 of 8