solveODE#
Numerical Integration of Ordinary Differential Equations.
Available in: math cells, REPL.
Syntax#
solveODE(func, tspan, y0)
solveODE(func, tspan, y0, options)
Arguments and behavior#
Pass a derivative function, interval and initial state. Returns time/state arrays; check tolerances and domain for your system.
Example#
Edit the inputs, then use Run or Reset. Changes stay in this example.
Example
f(t,y) = y
solveODE(f,[0,0.1],[1])Interactive examples could not load. You can still copy the expressions.
Expected result: {"t": [0, 0.1], "y": [[1], [1.1051709183333]]}.