Do understand what Un and Ln mean? The rest is just arithmetic. Divide the interval from 0 to into n intervals of equal length so that each has length . Since sin(x) is an increasing function on , the lowest value in each interval is at the left endpoint, and the highest value is at the right endpoint, with i going from 0 to n-1.