Docsity

Math 471 Homework 12: Taylor's Method, Modified Euler Method, and Improved Euler Method, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Homework 12, Math 471
25 November, 2008
Name:
1. Taylor’s second-order method is defined via
yn+1 =yn+hΦ(xn, yn;h), y0=y(x0),
where
Φ(xn, yn;h) = f(xn, yn) + h
2f′(xn, yn).
(a) Calculate an explicit formula for Φ when
y′(x) = x2y2.
(b) Calculate y1and y2, whenever x0= 0 and y0=y(0) = 1.
2. Repeat parts (a) and (b) of problem 1, but using the modified Euler method
instead of Taylor’s method.
3. Repeat parts (a) and (b) of problem 1, but using the improved Euler method
instead of Taylor’s method.
4. Show that the truncation error of the (implicit) trapezium rule method (page 324)
is precisely
Tn=−1
12h2y′′′(ξn),
for some ξn∈(xn, xn+1), where y(x) is the exact solution of the initial value problem
y′(x) = f(x, y), y(x0) = y0.
Hint: Look at Thm. 7.1 and use the Integral Mean Value Theorem.
1

Partial preview of the text

Download Math 471 Homework 12: Taylor's Method, Modified Euler Method, and Improved Euler Method and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework 12, Math 471

25 November, 2008

Name:

  1. Taylor’s second-order method is defined via yn+1 = yn + hΦ(xn, yn; h), y 0 = y(x 0 ), where Φ(xn, yn; h) = f (xn, yn) + h 2 f ′(xn, yn). (a) Calculate an explicit formula for Φ when y′(x) = x^2 y^2. (b) Calculate y 1 and y 2 , whenever x 0 = 0 and y 0 = y(0) = 1.
  2. Repeat parts (a) and (b) of problem 1, but using the modified Euler method instead of Taylor’s method.
  3. Repeat parts (a) and (b) of problem 1, but using the improved Euler method instead of Taylor’s method.
  4. Show that the truncation error of the (implicit) trapezium rule method (page 324) is precisely Tn = − 121 h^2 y′′′(ξn), for some ξn ∈ (xn, xn+1), where y(x) is the exact solution of the initial value problem y′(x) = f (x, y), y(x 0 ) = y 0.

Hint: Look at Thm. 7.1 and use the Integral Mean Value Theorem.