Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I'm trying to find the maximum value of a curve. simple stuff.
but it fails and gives totally wrong answers.
File is attached M14
Solved! Go to Solution.
The answer it's giving you is correct, it's just not the answer you want.
The answer it's giving you is correct, it's just not the answer you want.
Thank you
btw which of these is the fastest Quasi-Newton, Conjugate gradient or Maximize function
Maximize uses either Conjugate Gradient or Quasi-Newton as the algorithm. There is no way to know a-priori which will be faster.
If you use Maximize you are guaranteed to actually find a maximum. You can also constrain it so that the maximum found must lie in the forst 24 hours. see the attached for a slight modification.