Let f be the function with derivative given by f'(x) = sin(x^2 + 1). How many relative extrema does f have on the interval 2 < x < 4 ? How would I solve this without a calculator?