Properties
Similar Topics
Statistics
Comments
4
Participants
4
Subscribers
4
Votes
1
Views
755
Share
Sequence to find the extreme points of a function?
Answered
I have been trying to construct a sequnce which taken a function f(x) and for some integer j scans a set to find the extreme point value.
f(x) = 1 / 2 x³  2x² + 2
Sequence(If(f'(j) ≟ 0, j), j, 3, 3, 0.5)
How ever the main problem is that this sequence cannot find the extreme value if its a fraction.
So any surgestions on that I am missing will be welcomed ? :)
p.s. I know there is a buildin function in Geogebra to find the extreme values, but I would to ignore that if possible.
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2022 International GeoGebra Institute
I can't see a general solution, since each function you enter may have a different domain.
So you should create two different Sequence commands, one for each portion of the domain you want to scan, and Join them in a single list, for a nicer output. (you will need to avoid in the Sequence command the point/points/intervals in which your function is not defined)
I'd also consider to clean up a bit the resulting list, using RemoveUndefined command.
Try e.g. in your file
Try
The tip from Michael works fine for me.
But why not just Root() (for f'=0)?
Comments have been locked on this page!