This preview shows page 1. Sign up to view the full content.
Unformatted text preview: y (0) = 1 and y (0) = 0, solve the following initial value problem from t = 0 to 4: d 2 y dt 2 + 9 y = 0 (2) Obtain your solutions with: a) Eulers method and b) the fourth order Runge-Kutta method, with step sizes of t = 0.1, 0.05 and 0.01. Plot the solutions on the same graph along with the exact solution y = cos 3 t . Discuss the accuracy of the methods. 3. (30 Points) For the equation dy dt = f ( t ), compare the predictor-corrector method with the Taylor series. Show that the local truncation error is O ( h 3 )....
View Full Document
This note was uploaded on 11/05/2009 for the course ME 140A taught by Professor Meiburg during the Fall '08 term at UCSB.
- Fall '08