Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Re: Annoying Maximize behaviour

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64135] Re: Re: Annoying Maximize behaviour
  • From: Bhuvanesh <lalu_bhatt at yahoo.com>
  • Date: Thu, 2 Feb 2006 00:06:30 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Pratik Desai wrote:

> I was quite surprised that the following worked
> Maximize[Exp[-x^2]*Sin[x],x]//N
> >>{0.396653, {x -> 0.653271}}

Yes, it just calls NMaximize. It's the same for Integrate, Sum, and other such functions. For example:

In[1]:= Sum[Exp[-k]*Sin[k^2], {k,1,Infinity}]

                 2
            Sin[k ]
Out[1]= Sum[-------, {k, 1, Infinity}]
               k
              E

In[2]:= N[%]

NIntegrate::ncvb: NIntegrate failed to converge to prescribed accuracy after 7
     recursive bisections in k near k = 22.3143.

Out[2]= 0.218384

Bhuvanesh,
Wolfram Research.


  • Prev by Date: Re: Interpolating data
  • Next by Date: Re: multipleListPlot does not seem to accept Multiple Hue commands
  • Previous by thread: Personal Grid Edition and quad processor Mac
  • Next by thread: Re: problem with constants