Chapter 8. Solving Differential Equations Numerically

We can think of solving differential equations as the inverse of finding the derivative of a function. Given a differential equation (the derivative), a solution is any function that has that derivative. In this chapter, we will deal with only first-order ordinary differential equations (that is, first derivatives only).

For example, a solution of the differential equation[1]

Solving Differential Equations Numerically

is

Solving Differential Equations Numerically

where C is an arbitrary constant. The latter is a solution because its derivative is the differential equation.

Because of ...

Get Java™ Number Cruncher: The Java Programmer's Guide to Numerical Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.