Upper Riemann Sum

To guarantee your sum always over-approximates where is the value in that allows to achieve a max