Originally Posted by
CaptainBlack Heun's method is the basic Predictor Corrector method. This uses the Euler
step to predict the value of y(x+h) using y(x) and y'(x). Then using the
prediction of y(x+h) calculate the derivative y'(x+h), then a new estimate
of the derivative over the interval is taken as the average of the two
derivatives found and y(x+h) is then found using an Euler step with this
new estimate of the derivative.
Here f(x,y(x)) is independent of y so that makes things a bit simpler, since
now we can calculate y'(x+h) without having to estimate y(x+h). So in
this case the Heun step is:
y(x+h) = y(x) + h [y'(x) + y'(x+h)]/2
RonL