The construction of new explicit Runge–Kutta methods taking into account, not only their accuracy, but also the preservation of Quadratic Invariants (QIs) is studied. An expression of the error of conservation of a QI by a Runge–Kutta method is given, and a new six–stage formula with classical order four and seventh order of QI–conservation is obtained by choosing their coefficients so that the...