Group Abstract Group Abstract

Message Boards Message Boards

Finding Maximum and Location of Maximum of Function within Limits

Hi all-

I want to find the maximum value of a function, and also the location of that maximum, within the limits of two variables.

To find the location, I tried this but I believe I must have done something incorrectly in the syntax:

ArgMax[{MainLogisticSolution[.23, 0, t, initialpopsize], {t, Q}, \[Element] {{t, 0, 200}, {Q, 0, 1000}}]

Basically, I am looking for the maximum value of MainLogisticSolution with respect to t and Q where t and Q are restrained to 0-200 and 0-1000 respectively. I also want to know the values of t and Q that produce this maximum value.

Thanks much- Laura

POSTED BY: Laura McMullen
Posted 10 years ago

Something like this?

In[7]:= FindMaximum[{Sin[x] Cos[y], 2 < x < 6 && 2 < y < 6}, {x, y}]

Out[7]= {1., {x -> 4.71239, y -> 3.14159}}
POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard