Docsity

Additional Practice Exercise on Predictor - Corrector Method | MATH 435, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 435 Spring 2009 Prof. B. Datta
Additional Practice Exercises on Predictor-Corrector Metho d
1. Derive the predictor-corrector formula based on Euler’s method as the predictor and
trapezoidal rule of integration as the corrector.
2. Use the formula developed in 1 to solve the following equations with h= 0.5.
(a) y0=t2−y,y(0) = 1, 0 ≤t≤2
(Exact solution:y(t) = −e−t+t2−2t+ 2)
(b) y0=−t
y,y(1) = 1, 1 ≤t≤2
(Exact solution:y(t) = (2 −t2)1
2)
Compare the computed solution at each step with the exact solution.

Partial preview of the text

Download Additional Practice Exercise on Predictor - Corrector Method | MATH 435 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 435 Spring 2009 Prof. B. Datta

Additional Practice Exercises on Predictor-Corrector Method

  1. Derive the predictor-corrector formula based on Euler’s method as the predictor and trapezoidal rule of integration as the corrector.
  2. Use the formula developed in 1 to solve the following equations with h = 0.5.

(a) y′^ = t^2 − y, y(0) = 1, 0 ≤ t ≤ 2 (Exact solution: y(t) = −e−t^ + t^2 − 2 t + 2)

(b) y′^ = − (^) yt , y(1) = 1, 1 ≤ t ≤ 2 (Exact solution: y(t) = (2 − t^2 )

(^12) )

Compare the computed solution at each step with the exact solution.