An example of finding a stationary point