MCS 471 Computer Problem 4: Numerical Solution of ODEs using Maple

Due: Friday 26 April 1996

(revised 25 April 1996 for extra credit only)


Background Reading: Gerald and Wheatley, Chapter 5 & 6

Topics

    5.3 Euler Methods
    5.4 Runge-Kutta Methods
    5.5 Multistep Methods
    5.7 Adams-Moulton Multistep Method
    5.9-5.10 Convergence and Errors
    6.1-6.2 Shooting Method and Solution of Sets of Equations

Maple Computer Problem:

Comparison of Several Numerical ODE System Methods

You can use either Maple for this assignment. You must hand in a Maple worksheet that is well documented with comments and plots of integrand functions.

Refer to the Class Maple Pages, or in particular to the

See also the Maple Language Help for DEtools, DEplot and their options.  


The Model:

Find the solution of the following two-dimensional ODE system: where with initial conditions (IC):

The Methods:

  1. YEM:. Euler's method (EM; called 'method=euler' option in DEplot).
     
  2. YMODEM:. Modified Euler's method (ModEM; called Improved or 'method=impeuler' option in DEplot).
     
  3. YRK4:. Runge-Kutta 4th order method (RK4, default method in DEplot).
     
  4. (revised) Extra Credit ONLY: YPECE. Adams "PECE" method using y(n,i) for i = 1 to 2 components, n = 0 from the initial conditions, and n = 1 to 3 from an RK4 subroutine of your own as needed to start it up. (PECE = predict+evaluate+correct+(re-)evaluate). You will have to use a Maple Procedure such as in the Maple Example ODE worksheet:
Note that you will need to hand in plots along with Maple worksheets for this assignments.


Web Source: http://www.math.uic.edu/~hanson/M471/mcs471cp4.html

Email Comments or Questions to hanson@math.uic.edu

Click Here For Class HomePage