SLIDE 1
The ODE labs are numbered 1, 4, 5, 7 and 8. (written by Suzanne Lenhart and John Workman) Lab 1: Introductory Example For each problem, there is a user-friendly interface that will guide you
- through. Each lab consists of two different programs, lab .m and code .m. For
example, there are two programs associated with Lab 1, lab1.m and code1.m. The file code1.m is the Runge-Kutta based, forward-backward sweep solver. It takes as input the values of the various parameters and outputs the solu-
- tion. The file lab1.m is the user-friendly interface. It will ask you to enter
the values of the parameters one by one, compile code1.m with these values, and plot the resulting solutions. To open the interface for Lab 1, simply type lab1 at the prompt and press enter. Any time you wish to stop what it is doing, simply hit Ctrl-
- c. The command Ctrl-c may be useful when you enter certain parameters.