Ask Your Question
1

find_minimum_on_interval: where did it go?

asked 7 years ago

isaia.ismaele gravatar image

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!

Preview: (hide)

Comments

Thank you very much, found them! How do I flag this question as answered?

isaia.ismaele gravatar imageisaia.ismaele ( 7 years ago )

The only way is to select an answer... I just moved my comment as an answer that you can select in order for the question to be closed.

vdelecroix gravatar imagevdelecroix ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 7 years ago

vdelecroix gravatar image

I believe they are now find_local_maximum and find_local_minimum.

Preview: (hide)
link

Comments

Sorry for selecting this answer so late! It's been almost three years :D

isaia.ismaele gravatar imageisaia.ismaele ( 4 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 7 years ago

Seen: 1,148 times

Last updated: Feb 24 '18