Different sums under a curve

Different Sums under a curve