Can Endpoints Be Local Minimums And Maximums