Since the interval is [1, 5] and n = 4, the width is:
$$\Delta x = \frac{5 - 1}{4} = 1$$
Now, let's find the values of the function at the endpoints and midpoints of each subinterval:
$$x_0 = 1, x_1 = 2, x_2 = 3, x_3 = 4, x_4 = 5$$
$$f(x) = \sqrt{x} +
Show more…