| Author |
Comment/Response |
Whitney
|
11/13/12 9:21pm
I think you're on the right track. From the documentation on NDSolve:
You can use NDSolve to solve systems of coupled differential equations.
This finds a numerical solution to a pair of coupled equations.
sol = NDSolve[{x'[t] == -y[t] - x[t]^2, y'[t] == 2 x[t] - y[t],
x[0] == y[0] == 1}, {x, y}, {t, 10}]
I've linked you to the documentation.
URL: http://reference.wolfram.com/mathematica/tutorial/NumericalSolutionOfDifferentialEquations.html, |
|