mean value theorem problems and solutions pdf