ph-math/src/main/java/com/helger/numbercruncher/mathutils/PredictorCorrectorDiffEqSolver.java
@Override
  public DataPoint nextPoint (final float h)
  {
    final float predictor = m_fY + Math.abs (h) * m_aEquation.at (m_fX);
    final float avgSlope = (m_aEquation.at (m_fX, m_fY) + m_aEquation.at (m_fX + h, predictor)) / 2;

    m_fY += h * avgSlope; // corrector
    m_fX += h;

    return new DataPoint (m_fX, m_fY);
  }
@Override
  public DataPoint nextPoint (final float h)
  {
    final float predictor = m_fY + Math.abs (h) * m_aEquation.at (m_fX);
    final float avgSlope = (m_aEquation.at (m_fX, m_fY) + m_aEquation.at (m_fX + h, predictor)) / 2;

    m_fY += h * avgSlope; // corrector
    m_fX += h;

    return new DataPoint (m_fX, m_fY);
  }
@ Override public DataPoint nextPoint ( final float h ) { final float predictor = m_fY + Math . abs ( h ) * m_aEquation . at ( m_fX ) ; final float avgSlope = ( m_aEquation . at ( m_fX , m_fY ) + m_aEquation . at ( m_fX + h , predictor ) ) / 2 ; m_fY += h * avgSlope ; // corrector m_fX += h ; return new DataPoint ( m_fX , m_fY ) ; }
Return the next data point in the approximation of the solution.

@param h
the width of the interval
Return the next data point in the approximation of the solution .