This is the midpoint sum for 50 subintervals corresponding to the integral of Cos[x] over the interval [0,10]
You probably have the answer in a better form than this