NDSolve
NDSolve({equation-list}, functions, t)
attempts to solve the linear differential
equation-list
for thefunctions
and the time-dependent-variablet
. Returns anInterpolatingFunction
function object.
See:
Examples
Example taken from Tutorial — Differential Equations
>> model=NDSolve({x'(t) == 10*(y(t) - x(t)), y'(t) == x(t)*(28 - z(t)) - y(t), z'(t) == x(t)*y(t) - 8/3*z(t), x(0)== 0, y(0) == 1, z(0) == 0}, {x, y, z}, {t, 0, 20});
{{x->InterpolatingFunction[Piecewise({{InterpolatingPolynomial({........
Plot the interpolating function and the sine function.
>> Plot({Evaluate(z(t) /.model)}, {t, 0, 20})
Related terms
DSolve, InterpolatingFunction, NRoots, Solve
Implementation status
- ☑ - partially implemented