This module deals with general first order ODEs, that is, equations of the form
After selecting Direction fields from the Iode main menu, the Direction fields window will open up. It shows a plot of the direction field for the ODE, with the equation itself written across the top of the plot.
When you first enter the module, you will find Iode has already chosen a default ODE as well as reasonable option settings. Next we explain how to change these settings and plot solutions.
Now, when Matlab evaluates atan numerically, it always yields
values between
and
, which is usually
the wrong choice and sometimes even results in discontinuous plots.
Even worse, the plot of the numerical evaluation of a symbolic solution
with initial values
does not always pass through the
point
(!).This behavior is not strictly a bug in Matlab,
but it is certainly a flaw that makes symbolic solutions less useful
in practice than you might have expected.
equation, other
When you input the names for the independent (horizontal) and dependent
(vertical) variables, you are specifying the form in which you want
the equation written: for example,
Variable names should consist of only one letter, to avoid the risk of conflicting with Iode's internal variables.