Unformatted text preview: t = . 1, Δ t = . 05, Δ t = . 025 and Δ t = . 0125. 3. (a) Implement the RK4 method to numerically solve (1). (b) Plot the numerical solution and the exact solution on the same graph. Take t final = 15 and a time step of Δ t = . 3. (c) Check the numerical accuracy of your implementation using Δ t = . 1, Δ t = . 05, Δ t = . 025 and Δ t = . 0125. You should turn in your codes, your plots (you should distinguish between the exact solution [solid line] and the numerical solution [open symbols]). You should also turn in three tables illustrating the accuracy of the method (see class notes). 1...
View
Full
Document
This note was uploaded on 12/29/2011 for the course CS 111 taught by Professor Staff during the Fall '08 term at UCSB.
 Fall '08
 Staff

Click to edit the document details