Euler's method on the TI-85
Given a differential equation, say y' = 3x-y, here is how
to make the TI-85 draw an Euler's method solution for that differential
equation.
-
We must translate the differential equation: In place of the function (y
in
this case), write y (lower case), in place of y'
write y1, and in place of the variable (x in this
case), write x. So we get
y1=3x-y.
-
Now press [GRAPH][y(x)=] and enter our differential equation
from the last step on the first line:
-
Press [2nd][RANGE] to select a suitable window or range.
Here's what I've picked:
-
Press [EXIT][PRGM][NAMES] and select the EULER
program. Press [ENTER] to run the program.
-
Remember that Euler's method requires an initial condition or starting
point for a solution curve. Suppose, for examples, that the desired
initial condition was y(1) = 4. When the program begins, you must
input that initial condition as follows:
-
When the program asks "x start?", give the x-coordinate
of the initial condition. In our example y(1) = 4, x
start would be 1.
-
When the program asks "y start?", give the y-coordinate
of the initial condition. In our example y(1) = 4, y start
would be 4.
-
Euler's method can run forever; you must tell the program when to stop.
If you want a solution curve from x start (1 in the above
example) to, say, 5, you would give "5" for "final x".
-
Finally, give the number of steps desired (so the stepsize works
out to be (final x - x start)/(# of steps) ).
-
Your screen will look something like this before you press [ENTER]
the
last time:
-
When you press [ENTER] the last time, the calculator graphs
an approximate solution curve to the differential equation, for the given
initial condition:
-
You can get the coordinates of the last point plotted by typing x
[ENTER] [2nd][ALPHA] y [ENTER] (note these are lower case):
A final note: The TI-85 has a built-in D.E.
solution grapher that is much more accurate (but much harder to explain)
than Euler's method. To use it, you might follow the directions in
Euler's
method for the TI-86 but skip the steps that select "Euler" and "FldOff"
(since you can't on the '85 anyway).
Last Modified December 7, 1998.
Prof.
Janeba's Home Page | Send comments or questions to: mjanebawillamette.edu
Department
of Mathematics | Willamette
University Home Page