Docsity

Homework 3 for Numerical Analysis - Fall 2008 | MATH 433, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 433 - Numerical Analysis - Spring 2008
Homework 3
Assigned: Sunday, January 27, 2008.
Due: Friday, February 1, 2008.
•Include a cover page and a problem sheet.
•Always clearly label all plots (title, x-label, y-label, and legend).
•Use the subplot command from MATLAB when comparing 2 or more plots to
make comparisons easier and to save paper.
•Include all of your script.
•Place a comment at the top of each function or script that you submit which
includes the name of the function or script, your name, the date and MATH
433.
BOOK PROBLEMS: #15 pg.70 (bisection method)
#1 pg.453 (Richardson extrapolation)
ADDITIONAL PROBLEMS:
1. (Root Finding).
Consider f(x) = x3−2.
(a) Show that f(x) has a root αin the interval [1,2].
(b) Compute an approximation to the root by taking 4 steps of the bisection
method.
(c) Repeat, using Newton’s method. Take x0= 1.5 for the starting value.
(d) Repeat, using fixed point iteration with g(x) = x−f(x)/3 and g(x)=2/x2.
Take x0= 1.5 for the starting value.
(e) Discuss your results. T
(For each method, present your results in the form of a table. Please include
a program for each method.)
2. Which of the following iterations xn+1 =g(xn) will converge to the indicated
fixed point α(provided x0is sufficiently close to α)? If it does converge, give the
order of convergence; for linear convergence, give the rate of linear convergence
(i.e., the asymptotic constant). In the case that g0(α) = 0, try expanding g(x)
in a Taylor polynomial about x=αto determine the order of convergence.
(a) xn+1 =−16 + 6xn+12
xn
,α= 2
1
pf2

Partial preview of the text

Download Homework 3 for Numerical Analysis - Fall 2008 | MATH 433 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 433 - Numerical Analysis - Spring 2008 Homework 3 Assigned: Sunday, January 27, 2008. Due: Friday, February 1, 2008.

  • Include a cover page and a problem sheet.
  • Always clearly label all plots (title, x-label, y-label, and legend).
  • Use the subplot command from MATLAB when comparing 2 or more plots to make comparisons easier and to save paper.
  • Include all of your script.
  • Place a comment at the top of each function or script that you submit which includes the name of the function or script, your name, the date and MATH

BOOK PROBLEMS: #15 pg.70 (bisection method) #1 pg.453 (Richardson extrapolation)

ADDITIONAL PROBLEMS:

  1. (Root Finding). Consider f (x) = x^3 − 2.

(a) Show that f (x) has a root α in the interval [1, 2]. (b) Compute an approximation to the root by taking 4 steps of the bisection method. (c) Repeat, using Newton’s method. Take x 0 = 1.5 for the starting value. (d) Repeat, using fixed point iteration with g(x) = x−f (x)/3 and g(x) = 2/x^2. Take x 0 = 1.5 for the starting value. (e) Discuss your results. T

(For each method, present your results in the form of a table. Please include a program for each method.)

  1. Which of the following iterations xn+1 = g(xn) will converge to the indicated fixed point α (provided x 0 is sufficiently close to α)? If it does converge, give the order of convergence; for linear convergence, give the rate of linear convergence (i.e., the asymptotic constant). In the case that g′(α) = 0, try expanding g(x) in a Taylor polynomial about x = α to determine the order of convergence.

(a) xn+1 = −16 + 6xn +

xn

, α = 2

(b) xn+1 =

xn +

x^2 n

, α = 3^1 /^3

(c) xn+1 =

1 + xn

, α = 3

  1. Let α be a fixed point of g(x). Consider the fixed-point iteration xn+1 = g(xn) and suppose that max |g′(x)| = k < 1. Prove the following error estimate

|α − xn+1| ≤

k 1 − k

|xn+1 − xn|.

(hint: by MVT, |α − xn+1| = |g′(ξ)||α − xn| ≤ k|α − xn|)