Solving "Impossible" Differential Equations with Mathematica
We have already had some experience with Mathematica's built in symbolic solver, and have noticed that:
- it can be a little slow
- it doesn't always manage to find a solution
The second of these observations comes as no surprise after what we discussed in the introduction. Fortunately, Mathematica has a built in command that numerically solves differential equations—it's called NDSolve. This routine can deal with initial value problems that cannot be solved symbolically. There is also an added bonus! NDSolve is usually faster than DSolve on the same problems.
Let's start off by taking the usual first step. Ask Mathematica for the syntax of NDSolve.
Welcome back! Let's go see what you should have just gotten...