Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

Re: Not a valid limit in NIntegrate ???

  • Subject: [mg3144] Re: Not a valid limit in NIntegrate ???
  • From: whitic at rpi.edu (whitic)
  • Date: 7 Feb 1996 09:38:43 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Rensselaer Polytechnic Institute, Troy NY, USA
  • Sender: daemon at wri.com

a_kowald at chemie.fu-berlin.de (Axel Kowald) wrote:

>Hi 


>FindRoot[NIntegrate[t,{t,rho,100}]==1,{rho,99}]

>NIntegrate[t,{t,rho,100}] /. rho->99


>When I'm using one of the above constructs either on a Mac or under Unix
>running Mathematica 2.2 I get the following error message:

>NIntegrate::nlim: t=rho is not a valid limit of integration


>Why does it complain ??    Any ideas ??


>Many thanks


>	Axel Kowald

Try using the built in Secant method for the FindRoot routine.
Mathematica uses this method when FindRoot is called with the
following syntax:
	FindRoot[ f[x]==g[x], {x,x1,x2}]

For the problem in question, you can use the command:
	FindRoot[ NIntegrate[t,{t,rho,100}]==1,{rho,99,100}] 
with this, Mathematica does not complain, since it does not have to
evaluate, analytically the Jacobian of this numerical function.

Hope this helps,

Chris Whiting
whitic at rpi.edu




  • Prev by Date: bounding a polygon
  • Next by Date: Re: Map Attractors in Mathematica
  • Previous by thread: Re: Not a valid limit in NIntegrate ???
  • Next by thread: Re: Mathematica as a programming language.