Hint: Graph the function to see if it's monotonic. If it isn't, break up the interval into parts on which the function is monotonic. (Remember the total error has to be less than 0.005, so the error on each little part has to be proportionally smaller!)