Error Analysis and Newton’s Method
MME 523 9/16/03
I am assumi
Here we are
interested in a little of the Numerical Analysis. This means examini
xn+1 = xn - f(xn)/f’(xn)
what we would like is
instead somethi
| xn+1 - r | < (M/2m) | xn
– r| 2
where:
M = max of abs value of
second derivative of f on the interval you use
= max | f’’(x) |
= maximum curvature of graph
m = the minimum of | f’(x)
| on the interval
= minimum slope on graph
The square on the
right hand side is numerically most noteworthy! It means the accuracy may double at each step for reasonable M and
m values!! In other words,
How do you get M and
m?? You could do it by hand but this is
a nightmare in most cases. Better to use Maple, let it differentiate and plot
and you just read off the values.
Problem 1:
Lets analyze findi
Problem 2: in each
that follows, use
a) x3 – 3x2 + 3 = 0 on
[2,3]
b) x3 + 2x2 – x + 1 = 0 on [-3, -2 ]
c) sin(x) = x2 on [0,
Pi]
d) cos(x) = x – 1 on [0, Pi/2]
e) find a solution to x6 – x5 + x3
= 3 to
5 places
Problem 3:
Show that
9x4 – 16x3 –
36x2 +96x – 60 = 0 with x0
= 4/3
any
thoughts on why?
Problem 4: compute the 4th root of 47 to 5
places
Problem 5: The
Babylonians approximated square roots of integers by the followi
xn+1 = ( xn
+ N/ xn
)/2
where N is the
integer whose square root we want.
a) try this out for
an integer of your choice
b) show that it is
consistent with