Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

find_minimum_on_interval: where did it go?

Hello!

I'm confused about the whereabouts of the find_minimum_on_interval and find_maximum_on_interval functions. I've just started using Sage, using Sage Beginner's Guide by Craig Finch as a guide.

One of the first examples in Chapter 8 uses both these functions to find relative minima and maxima of a function, but Sage gives me this error when I try to use that code:

Traceback (click to the left of this block for traceback)
...
NameError: name 'find_maximum_on_interval' is not defined

I get a similar error when trying to read documentation about such functions on both my local installation and the Sage Cell Server.

Since the book refers to an old version of Sage (4.5), my question is: did these functions get replaced/deleted in latter versions, or did I forget something?

Thank you very much in advance!