Trapezoidal rule (source code)

= Trapezoidal rule
{wiki}

The trapezoidal ODE rule averages vector fields at the old and new states and is A-stable.