Euler Method - Using the Method with Mathematica - Part 3

Numerical Methods for Solving Differential Equations

Euler's Method

Using the Method with听Mathematica

(continued from听last page...)

Your first use of听euler听should have gone like this:

prelimsol1=euler[x+2y,{x,0,1},{y,0},4]

调调0,听0皑,听调0.25,听0皑,听调0.5,听0.0625皑,
调0.75,听0.21875皑,听调1.,听0.515625皑皑

The result looks a little confusing because it's in听Mathematica's list format, but it can soon be cleaned up if you issue the command:

MatrixForm[prelimsol1]

Go back and try it now!

尝别迟'蝉听go look听at what you should have gotten...


Compass If you're lost, impatient, want an overview of this laboratory assignment, or maybe even all three, you can click on the compass button on the left to go to the table of contents for this laboratory assignment.