Critical numbers and end points