Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. 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.
