Mean value theorem for integrals example