MathGroup Archive 2005

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

Search the Archive

Re: Hold[] ReleaseHold[] ? or what ?


This works:

In[1]:= f[u_?NumericQ] := NIntegrate[Sin[x + u], {x, 1, 2}]

In[2]:= FindMinimum[f[u], {u, 0}]

Out[2]= {-0.958851, {u -> -3.0708}}

Anton Antonov,
Wolfram Research, Inc.


  • Prev by Date: Re: coding problem
  • Next by Date: Re: coding problem
  • Previous by thread: Re: Hold[] ReleaseHold[] ? or what ?
  • Next by thread: Re: Hold[] ReleaseHold[] ? or what ?