12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.2 Ordinary Differential Equations • 25560y4020–60 –40 –20 0 20 40 60x–20–40–60Note that DEplot also generates a direction field, as above, wheneverit is meaningful to do so. For more details on how to plot ODEs, refer to?DEtools,DEplot.DEplot3d is the three-dimensional version of DEplot. The basic syntaxof DEplot3d is similar to that of DEplot. For details, refer to?DEtools,DEplot3d. The following is a three-dimensional plot of the systemplotted in two dimensions above.> DEplot3d( {eq1, eq2}, [x(t), y(t)], -5..5,> [ [ini1], [ini2] ] );4020y(t)–20 0–40–60 –40–200x(t) 20 40 6042–20t–4The following is an example of a plot of a system of three differentialequations.> eq1 := diff(x(t),t) = y(t)+z(t);eq1 := d x(t) = y(t) + z(t)dt> eq2 := diff(y(t),t) = -x(t)-y(t);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!