Mathematics & Science
Learning Center |
|||
Numerical Methods for Solving Differential EquationsEuler's MethodUsing the Method with Mathematica(continued from last page...) I've abbreviated the output a little here, in order to save space. You should have gotten the long version of:
prelimsol3=euler[x+2y, {x, 0, 1}, {y, 0}, 100] So, our new last point is (1.00, 1.06116), which is much closer to the correct result of (1.00, 1.097264), but is still not perfect. Clearly if we wanted even greater accuracy, we could ask the computer for even more steps—if we were willing to wait for the calculations to finish. I don't think we'll bother, however. Let's go and have you try some exercises on your own instead... |
|||
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 |