## Solving ODEs with MATLABThis book is a text for a one-semester course for upper-level undergraduates and beginning graduate students in engineering, science, and mathematics. Prerequisites are a first course in the theory of ODEs and a survey course in numerical analysis, in addition to specific programming experience, preferably in MATLAB, and knowledge of elementary matrix theory. Professionals will also find that this useful concise reference contains reviews of technical issues and realistic and detailed examples. The programs for the examples are supplied on the accompanying web site and can serve as templates for solving other problems. Each chapter begins with a discussion of the "facts of life" for the problem, mainly by means of examples. Numerical methods for the problem are then developed, but only those methods most widely used. The treatment of each method is brief and technical issues are minimized, but all the issues important in practice and for understaning the codes are discussed. The last part of each chapter is a tutorial that shows how to solve problems by means of small, but realistic, examples. |

### Contents

Getting Started | 1 |

12 Existence Uniqueness and WellPosedness | 6 |

13 Standard Form | 19 |

14 Control of the Error | 27 |

15 Qualitative Properties | 34 |

Initial Value Problems | 39 |

22 Numerical Methods for IVPs | 40 |

221 OneStep Methods | 41 |

32 Boundary Value Problems | 135 |

33 Boundary Conditions | 138 |

331 Boundary Conditions at Singular Points | 139 |

332 Boundary Conditions at Infinity | 146 |

34 Numerical Methods for BVPs | 156 |

35 Solving BVPs in MATLAB | 168 |

Delay Differential Equations | 213 |

42 Delay Differential Equations | 214 |

222 Methods with Memory | 57 |

23 Solving IVPs in MATLAB | 81 |

231 Event Location | 92 |

232 ODEs Involving a Mass Matrix | 105 |

233 Large Systems and the Method of Lines | 114 |

234 Singularities | 127 |

Boundary Value Problems | 133 |

43 Numerical Methods for DDEs | 217 |

44 Solving DDEs in MATLAB | 221 |

45 Other Kinds of DDEs and Software | 247 |

251 | |

257 | |

### Other editions - View all

### Common terms and phrases

absolute error tolerance accurate algebraic equations approximate solution array backward Euler method BDFs behavior bvp4c coefficients compute condition at infinity continuous extension convergence default delay Delay Differential Equations differential equations discontinuities dydt eigenvalue estimate evaluate event function event location example EXERCISE explicit Runge-Kutta Figure formula function y(t global guess Heun's method initial point initial value interpolation interval of integration Jacobian linear mass matrix MATLAB MATLAB IVP solvers mesh points nonlinear nonstiff numerical methods numerical solution odeset options partial derivatives PDEs phase plane polynomial program ch3 relative error result Runge-Kutta formula Runge-Kutta method satisfies Shampine sol.x sol.y solution components solution structure solution y(t solve the BVP solve the DDES solving BVPs Solving ODEs sparse matrix specified stiff problems system of ODEs Taylor series tion tn+1 trapezoidal rule truncation error u(tn unknown parameter vector y₁(t Yn+1 zero