Let [math] Use either the first derivative test or the second derivative test to find the following:

(A) The average of the [math] values of all local maxima of [math].
Note: If there are no local maxima, enter -1000.

Average of [math] values =


(B) The average of the [math] values of all local minima of [math].
Note: If there are no local minima, enter -1000.

Average of [math] values =