![]() |
|||||||||
Mathematics & Science
Learning Center |
|||||||||
Solving Systems(continued from last page...) Solving the Preliminary ExampleWe're going to use Mathematica to help us verify some solutions to the example we encountered in the introduction to this laboratory, namely:
We said that a solution was:
To verify that they really work as solutions, we simply need to do a little substituting. We need to substitute these values of x(t), and y(t) into both equations, and determine whether we get true statements. Let's start with equation (1):
and let's first address the left hand side. To do the check we need to substitute the proposed value of x(t) into x(t) itself, and then differentiate with respect to t. The following command does this in a single step: D[x[t]/.x[t]->E^(-t),t] Let's now launch Mathematica, and give the command a try. ![]() Now let's go see what you should have gotten... |
|||||||||
ODE Laboratories: A Sabbatical Project by Christopher A. Barker ©2017 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA e-mail: cbarker@deltacollege.edu |