A few words about convergence - PowerPoint PPT Presentation

About This Presentation
Title:

A few words about convergence

Description:

A few words about convergence – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 20
Provided by: tonyc7
Category:

less

Transcript and Presenter's Notes

Title: A few words about convergence


1
A few words about convergence We have been
looking at ea as our measure of convergence A
more technical means of differentiating the speed
of convergence looks at asymptotic convergence
2
Definition Rate of convergence if
we say that the method converges to x-true with
order pgt0. Higher p is faster convergence. p1 is
linear p2 is quadratic
3
Lambda is asymptotic error constant Bisection
p1 Regula falsi p1.4 to 1.6
4
Another open method is fixed point iteration
Idea rewrite original equation f(x)0 into form
xg(x). Use iteration xi1g(xi) to find a value
that reaches convergence Example
5
For our Mannings equation problem
becomes
6
Fortran program performing fixed-point iteration
for Mannings eq. example
7
(No Transcript)
8
Fixed point iteration doesnt always
work. Basically, if g(x) is lt1 near the
intersection with the x line, it will work. (See
your book for derivation).
Example where it doesnt work
9
(No Transcript)
10
King of the root-finding methods Newton-Raphson
method
Based on Taylor series expansion
11
Truncate to get
At the root, f(xi1)0, so
and
12
Note that an evaluation of the derivative is
required. You may have to do this
numerically. However, can converge very quickly.
13
Example using our Mannings equation problem
The derivative of this w.r.t h is
14
Spreadsheet example
15
Error analysis and convergence of
Newton-Raphson The error of the Newton-Raphson
method can be estimated from
Because the error at time i1 is proportional to
the square of the previous error, the number of
correct decimal places doubles each iteration
16
Although Newton-Raphson converges very rapidly,
it can diverge, and fail to find roots. 1) if an
inflection point is near the root 2) if there is
a local minimum or maximum 3) if there are
multiple roots 4) if a zero slope is reached
17
Secant method continued
There is an alternate secant method that uses a
perturbation method to approximate derivative.
Start with
18
Now plug this approximation for the derivative
into the Taylor series approximation used in
Newton-Raphson
becomes
19
No derivative evaluation - like the secant
method Only one initial guess is needed - like
Newton-Raphson method
Matlab example
Write a Comment
User Comments (0)
About PowerShow.com