Visualizing the Solution of Two Linear Differential Equations

The analytical solutions of the two differential equations and , subject to the initial conditions and are used to create two plots, a parametric plot of a curve with horizontal coordinate and vertical coordinate and a standard plot of and as functions of from 0 to .
The initial conditions and are set by locators on the parametric plot; you can use more than one. A locator's horizontal and vertical coordinates give and , respectively. After changing from the parametric plot to the standard plot, locators appear on the standard plot if and is in the plot range.

The expressions for and given by the Mathematica built-in function DSolve are not applicable when . For this special case the solutions are simplified using Mathematica's Limit function. Thus our function twoDSolve correctly computes and for all parameters specified.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+