Mean Value Theorem in action
: You can drag the A or B points.