DependentVariables

DependentVariables
is an option for NDSolve and other functions that specifies the list of all objects that should be considered as dependent variables in equations that have been supplied.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Save only the solution for :

In[1]:=
Click for copyable input
Out[1]=

Plot the solution as a function of :

In[2]:=
Click for copyable input
Out[2]=

Stop the integration when the solution has left a specified range:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 5.0 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »