Group Abstract Group Abstract

Message Boards Message Boards

Maximize/Minimize functions in a region?

Posted 9 years ago

Hi! How can I minimize my fucntion in region? The fucntion give me NDSolve, but i cant select right syntax for minimize function.

Minimize[y1[t]/.sol, tE{3,10}], Minimize[{y1[t]/.sol, 3<=t<=10}, t}]
  • dont work...
POSTED BY: Igor Basov
2 Replies
Posted 9 years ago

Of course! This is local optimization! Its realy work in this functuion created by interpolation notation NdSolve

POSTED BY: Igor Basov

Since your answer lacks many details I can only guess where it goes wrong. I presume you have something like:

sol = NDSolve[...........,y1];

I guess you can find the minimum of this like so:

    f = y1 /. First[sol];
    FindMinimum[f[t],{t,6,3,10}]

Without an example it is very hard to guess!

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard