MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Finding the extreme function values.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109315] Re: Finding the extreme function values.
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Wed, 21 Apr 2010 04:32:47 -0400 (EDT)

Hi,

just use Maximize and give the interval as constraint:

f = Sin[x] + 0.5 x;
Plot[f, {x, 0, 2 Pi}]
Maximize[{f, 0 <= x <= 2 Pi}, x]

Cheers
Patrick

On Tue, 2010-04-20 at 05:53 -0400, Hector Lubian de Iraola wrote:
> I would like to know which is or are the best commands in 
> order to find the highest and lowest function values in an interval.
> What I need are not the maximums not the minimums of the 
> function within the interval but the highest and lowest values.
> In my search of the help files I couldn't find a simple way 
> to do it because with maximize or minimize I don't get what I need.
> I am an inexpert user so please excuse me for that.
> Thank you,
> Hector.
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------
> Este mensaje ha sido analizado por el sistema antivirus del CEADEN en busca
> de virus y otros contenidos peligrosos, y se considera libre de codigo maligno.
> Visite nuestro sitio web en http://www.ceaden.cu
> --------------------------------------------------------------------------
> 
> 



  • Prev by Date: Lining up y axes and sizing plot areas
  • Next by Date: Re: Bug in PadLeft/PadRight
  • Previous by thread: Re: Finding the extreme function values.
  • Next by thread: Re: Finding the extreme function values.