Content deleted Content added
Jitse Niesen (talk | contribs) Undid revision 594522446 - align error caused by software issue |
m Removed invisible unicode characters + other fixes, removed: (3) using AWB (10691) |
||
Line 4:
== Predictor–corrector methods for solving ODEs ==
When considering the [[numerical methods for ordinary differential equations|numerical solution of ordinary differential equations (ODEs)]], a
=== Example: Euler method with the trapezoidal rule ===
Line 14:
: <math> y' = f(t,y), \quad y(t_0) = y_0, </math>
and denote the step size by <math>h</math>.
First, the predictor step: starting from the current value <math>y_i</math>, calculate an initial guess value <math>\tilde{y}_{i+1}</math> via the Euler method,
Line 20:
: <math>\tilde{y}_{i+1} = y_i + h f(t_i,y_i). </math>
Next, the corrector step: improve the initial guess using trapezoidal rule,
: <math> y_{i+1} = y_i + \tfrac12 h \bigl( f(t_i, y_i) + f(t_{i+1},\tilde{y}_{i+1}) \bigr). </math>
Line 28:
=== PEC mode and PECE mode ===
There are different variants of a
: <math> \begin{align}
|