Ask Your Question
0

find_minimum_on_interval: where did it go?

asked 2018-02-24 14:45:19 -0600

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!

edit retag flag offensive close merge delete

Comments

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

isaia.ismaele gravatar imageisaia.ismaele ( 2018-02-25 07:31:01 -0600 )edit

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 ( 2018-03-03 15:09:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-02-24 15:54:55 -0600

vdelecroix gravatar image

I believe they are now find_local_maximum and find_local_minimum.

edit flag offensive delete link more

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: 2018-02-24 14:45:19 -0600

Seen: 103 times

Last updated: Feb 24