Consecutive optimization of the weighted quadrature formulas with derivative | Synapse