Question: Find first local maximum or minimum of a function

I need to find the first local extremum of a polynomial function. For my purposes I need to start at 0 and go toward increasingly positive values of the independent variable. I also need to be able to specify whether I am looking for a maximum or a minimum.

Is there an easy way I can do this?

Thanks!!

David

Please Wait...