find the local maximum and minimum values of f using both the first and second derivative tests. which method do you prefer?