Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Warning: This resource is provisional
Function Repository Resource:
Dynamically visualize an ordinary differential equation (ODE) or system of ODEs
ResourceFunction["ODEViewer"][eqns, init, deps, {t}] creates a dynamic visualization and computes properties of the ordinary differential equation system eqns, with initial conditions init, written in terms of dependent variables deps and independent variable t. | |
ResourceFunction["ODEViewer"][eqns, init, dep, {t, t1, t2}] creates a dynamic visualization of eqns with t varying from t1 to t2. |
Visualize the slope field of a simple equation and it's solution for a given initial condition:
In[1]:= | ![]() |
Out[1]= | ![]() |
Visualize a system in three dimensions:
In[2]:= | ![]() |
Visualize the slope field for a non-linear system:
In[3]:= | ![]() |
Out[3]= | ![]() |
A stiff system:
In[4]:= | ![]() |
Out[4]= | ![]() |
A multiple solution case:
In[5]:= | ![]() |
Out[5]= | ![]() |
A linear system, the plot range is calculated automatically, but the plot range is not optimal:
In[6]:= | ![]() |
The same system, with a explicit plot range:
In[7]:= | ![]() |
Out[7]= | ![]() |
If something fails shows nothing:
In[8]:= | ![]() |
Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License