2742. A mean value theorem