MathGroup Archive 2005

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60210] Re: Hold[] ReleaseHold[] ? or what ?
  • From: "antononcube" <antononcube at gmail.com>
  • Date: Wed, 7 Sep 2005 04:04:09 -0400 (EDT)
  • References: <dfiuvc$p7n$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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 ?