This article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.MathematicsWikipedia:WikiProject MathematicsTemplate:WikiProject Mathematicsmathematics
Example of a trapezoidal predictor-corrector method.
In this example h = ,
first calculate an initial guess value via Euler:
next improve the initial guess through iteration of the trapezoidal rule:
...
until some fixed value n or until the guesses converge to within some error tolerance e :
then use the final guess as the next step:
If I remember correctly, the iterative process converges quadratically. Note that the overall error is unrelated to convergence in the algorithm but instead to the step size and the core method, which in this example is a trapezoidal, (linear) approximation of the actual function. The step size h ( ) needs to be relatively small in order to get a good approximation. Also see stiff equation