Mean value theorem problems pdf