MathGroup Archive 2006

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

Search the Archive

Re: Possible simple bug in NMaximize


That works at Version 5.1:

NMaximize[Integrate[-t^3, {t, 0, x}], x] or NMaximize[NIntegrate[-t^3,
{t, 0, x}], x]

OK, it's not exactly your problem, but the real problem is
Integrate/NIntegrate, i think.

Maybe that helps...



Nick Grishin schrieb:

> (* does not work *)
> func = Hold[NIntegrate[t^3, {t, x, 0}]];
> NMaximize[func, x]
>
> (* works *)
> func = Hold[NIntegrate[t^3, {t, 0, x}]];
> NMinimize[func, x]
> 
> $Version
> 5.2 for Microsoft Windows (June 20, 2005)


  • Prev by Date: Re: Lists and polynomials
  • Next by Date: Help needed
  • Previous by thread: Re: Possible simple bug in NMaximize
  • Next by thread: building a list containing elements f(i,j)