- #1
Jamin2112
- 986
- 12
The "improved" Euler method
Using it on a programming assignment. The description in our course notes is a little confusing, so I need to know whether I'm doing it correctly.
Go to p. 22 of this, if you're so inclined: http://faculty.washington.edu/joelzy/402_notes_bernard.pdf
Basically, if I have the slopes y'(x0), y'(x1), ..., y'(xn), and of course an initial point y0, I'm getting the next point y(xk) by y(xk) = y(xk-1) + Δx (y'(xk-1)+y'(xk))/2. Right?
Homework Statement
Using it on a programming assignment. The description in our course notes is a little confusing, so I need to know whether I'm doing it correctly.
Homework Equations
Go to p. 22 of this, if you're so inclined: http://faculty.washington.edu/joelzy/402_notes_bernard.pdf
The Attempt at a Solution
Basically, if I have the slopes y'(x0), y'(x1), ..., y'(xn), and of course an initial point y0, I'm getting the next point y(xk) by y(xk) = y(xk-1) + Δx (y'(xk-1)+y'(xk))/2. Right?
Last edited by a moderator: