MathGroup Archive 2007

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

Search the Archive

Re: FindRoot[ NIntegrate[...] ...] works but generates "NIntegrate::nlim" limit error message!?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72504] Re: FindRoot[ NIntegrate[...] ...] works but generates "NIntegrate::nlim" limit error message!?
  • From: "William McHargue" <William at McHargue.Org>
  • Date: Wed, 3 Jan 2007 01:31:10 -0500 (EST)
  • References: <end7ko$iek$1@smc.vnet.net>


On Jan 2, 1:11 am, "William McHargue" <Will... at McHargue.Org> wrote:
> Hello,
>
> I wish to solve for an integration result to equal a given value while
> varying the upper limit of the integration.

Mystery solved. As I found in the archives, and from e-mails from group
subscribers, the answer is to qualify the argument to the integration:

integralFunction[upperLimit_?NumberQ] := NIntegrate[x, {x, 0,
upperLimit}]

Sometimes I get the feeling Mathematica is toying with us all.


Regards,

Bill.


  • Prev by Date: Re: webMathematica problem
  • Next by Date: Re: RE: Combining surfaces
  • Previous by thread: FindRoot[ NIntegrate[...] ...] works but generates "NIntegrate::nlim" limit error message!?
  • Next by thread: Re: FindRoot[ NIntegrate[...] ...] works but generates "NIntegrate::nlim" limit error message!?