1. State and prove the mean value theorem.