Use the midpoint rule with the given value of n to approximate the integral. Round the answer to three decimal points.
a) 1/8
b) 3/8
c) 5/8
d) 7/8