Mathematics & Science
Learning Center |
|||
Numerical Methods for Solving Differential EquationsHeun's MethodMathematica Implementation(continued from last page...) Recall from the last lab that we had managed to create a program for finding numerical solutions of a first order differential equation using Euler's method. The program we created was as follows:
euler[f_,{x_,x0_,xn_},{y_,y0_},steps_]:= Notice that I highlighted a couple of locations in the code in red. Let's move on and discuss why... |
|||
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 |