CalcWorldHub
Free online calculator · no signup

Adams Bashforth Moulton history advance calculator

Advance one uniformly spaced ODE history with a fourth-order Adams predictor and one Moulton correction.

4,000 tools
Adams Bashforth Moulton history advance calculator — Current state, Four slopes, oldest to newest, History step and calculation method
Adams Bashforth Moulton history advance calculator: inputs and calculation method.

How to use this calculator

Advance one uniformly spaced ODE history with a fourth-order Adams predictor and one Moulton correction.

  1. Enter Current state, Four slopes, oldest to newest, History step, Local affine slope coefficient, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Adams Bashforth Moulton history advance explained

Advance an ODE state by one equally spaced Adams–Bashforth predictor and Adams–Moulton correction using the supplied slope history.

Corrected next state1.0797state units
Corrected next state: 1.079687 state units in the worked scenario.

How the calculation works

yp=y+h(55fₙ−59fₙ₋₁+37fₙ₋₂−9fₙ₋₃)/24; yc=y+h(9f(yp)+19fₙ−5fₙ₋₁+fₙ₋₂)/24.

Slopes are entered oldest to newest. Only the predicted future slope is evaluated with f(y)=py+r; the supplied historical slopes must come from the same underlying equation.

Inputs and units

y — Current state
State at the latest history time.
slopes — Four slopes, oldest to newest
Derivative values f(n−3), f(n−2), f(n−1), f(n). Use comma-separated values in the stated order.
stepSize — History step
Uniform time interval shared by all history states.
p — Local affine slope coefficient
Future derivative model f(y)=p y+r, in inverse-time units.
r — Local constant derivative term
Future derivative offset in state per time.

Limits of this model

Equal historical spacing and one correction only. This explicit PECE variant is unsuitable for highly stiff problems without further analysis.

Check this example

Current state = 1; Four slopes, oldest to newest = [0.4, 0.5, 0.6, 0.7]; History step = 0.1; Local affine slope coefficient = -1; Local constant derivative term = 2.

  • Corrected next state: 1.079687 state units
  • Predicted next state: 1.075 state units
  • Predictor corrector gap: 0.004687 state units

For constant unit slopes and future derivative one, a step h=0.1 advances y=1 to exactly 1.1 with zero predictor-corrector gap.

Reading the outputs

Corrected and predicted states share state units. Their absolute gap is a practical consistency indicator, not a calibrated error bound.

Frequently asked questions

Must history intervals be equal?

Yes; these fixed coefficients assume a uniform step.

Is the correction solved implicitly?

No. One derivative is evaluated at the predictor and then used once.

Is the gap the exact local error?

No. It is a discrepancy between two related approximations.

How do I use the Adams Bashforth Moulton history advance calculator?

Enter Current state, Four slopes, oldest to newest, History step, Local affine slope coefficient, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Adams Bashforth Moulton history advance?

Current state = 1; Four slopes, oldest to newest = [0.4, 0.5, 0.6, 0.7]; History step = 0.1; Local affine slope coefficient = -1; Local constant derivative term = 2. Corrected next state: 1.079687 state units Predicted next state: 1.075 state units Predictor corrector gap: 0.004687 state units For constant unit slopes and future derivative one, a step h=0.1 advances y=1 to exactly 1.1 with zero predictor-corrector gap.