right hand end point method 1/(x^2 + 1) from 0 to 1 with 5 intervals