Wilang Documentation1.0.0+4

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])

Expected result: {"t": [0, 0.1], "y": [[1], [1.1051709183333]]}.

See also#

derivative · simplifyCore

All functions · Math guides