Trapezoidal Sum Equation