WLJS LogoWLJS Notebook

NDSolveValue

NDSolveValue[eqns, expr, {x, xmin, xmax}] gives the value of expr determined by numerical solution to differential equations.

Examples

Solve ODE and get function:

sol = NDSolveValue[{y'[x] == y[x], y[0] == 1}, y, {x, 0, 2}]
sol[1.0]
(* 2.718 *)

Plot the solution:

Plot[sol[x], {x, 0, 2}]

Please visit the official Wolfram Language Reference for more details.

On this page