Re: NMinimize Bug in Mathematica 7.0?
- To: mathgroup at smc.vnet.net
- Subject: [mg96262] Re: NMinimize Bug in Mathematica 7.0?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Tue, 10 Feb 2009 05:53:29 -0500 (EST)
- References: <gmp0pi$c02$1@smc.vnet.net>
In my documentation the first example the result matches the answer I get.It is the same as you obtain. Are you sure that you copied it from the documentation correctly? Cheers -- Sjoerd On Feb 9, 12:33 pm, app... at att.net wrote: > Here is an example from Mathematica's user's guide: > > In[8]:= NMinimize[x^4 - 3 x^2 + x, x] > > Out[8]= {-3.513905039, {x -> -1.300839566}} > > however, trying to replicate it, I get the following: > > In[2]:= NMinimize[x^4 - 3 x^2 + x, x] > > Out[2]= {-1.070230182, {x -> 1.130901122}} > > One way to find the global min, I had to use a constraint such as x<0. > > Has anyone come across such a problem? > > In[3]:= $Version > > Out[3]= "7.0 for Microsoft Windows (32-bit) (November 10, 2008)" > > Thanks.