In my Differential Dynamical Systems text book, I came across the following question:
Sketch the local behavior you obtained in the phase plane and compare with a numerical phase plane plotter that shows the global solutions.
and here, what is the "numerical phase plane plotter"? I solved the system and sketched the phase plane but still don't get what it is.
the system I solved is this:
$x'=y$
$y'=x-x^3-ay$
since $a$ is an arbitrary constant, I had to plot 3 different phase planes such that $a>0$, $a=0$, $a<0$. if you don't mind please show me how to plot the numerical thing at least $a=0$ case.
Thanks.
Solve the differential equation $$ \frac{d}{dt}\left[ \begin{array}{c}x \\ y\end{array} \right] = \left[ \begin{array}{c} y \\ x - x^3 - ay \end{array} \right] $$ numerically with different initial conditions $x_0$ and for a fixed $a$ and superpose the plots. In Octave syntax this would be sth like
where $f$ denotes the rhs of the ode saved in a separate file.