This preview shows pages 1–2. Sign up to view the full content.
HOMEWORK ASSIGNMENT 10
Due: Wednesday, December 8, 2010
EGM 3344
Problems from Chapra book chapters 20 & 21
Problem 20.1
(
this problem is worth
80
points; 20 points for each part.
It will be graded with great attention and recorded separately.
You must complete this problem in order to receive any favorable
consideration to curve up your grade.)
Problem
Approach
Comments
20.1
Matlab
Write simple Matlab programs of your own
to implement
a single time step of Euler’s method, the midpoint method,
and the 4
th
order RungeKutta method. Then write a driver
program that uses a
for
loop to iterate the calls to each
method.
* Attach your code for each numerical method.
* present your results for each numerical method with
analytical result.
* Compare the error obtained using different values of h.
* Compare different methods with the same h.
*
Add any comments you feel appropriate/relevant.
The grades will be based on the completion of those tasks.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
 Fall '09
 RAPHAELHAFTKA

Click to edit the document details