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.