Find The Local Minimum And Maximum Values Of F