The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with NIntegrate
Replies: 2   Last Post: Aug 23, 2012 2:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Chris Arthur

Posts: 28
Registered: 10/4/11
Re: Problem with NIntegrate
Posted: Aug 22, 2012 2:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Maybe i'm getting rusty with integration but since this is a triple
integral with the limits of one variable defined in terms of another,
you should change the order of integration a bit so that the integral
with respect to Z evaluates before R. Maybe that will help.

So it is NIntegrate[....,{\[phi],...,..},{Z,...,...},{R,...,...}]


maves a écrit :
> Hello, I'm trying to numerically integrate a complicated expression and Mathematica keeps showing plenty of error messages, such as
> "NIntegrate::slwcon:Numerical integration converging too slowly; /.../",
> "NIntegrate::eincr: The global error of the strategy GlobalAdaptive has increased more than 2000 times./../" and so on. If I only want to see the spatial distribution of the solution (contour plots in different planes etc.) , it somehow manages to come to an end, but the problem is that I need to use this solution in NDSolve, so it would take too long for the program to find the root.
> One of the problematic integrals is for instance
> NIntegrate[
> R (x - R Cos[\[Phi]] )/((x - R Cos[\[Phi]] )^2 + (y -
> R Sin[\[Phi]] )^2 + (0 - Z)^2)^(3/2), {\[Phi], 0, 2 Pi}, {R,
> b, b + c}, {Z, R - (b + c), -R + (b + c)}
> Any idea what is "wrong" with the integrand so that I get all these error messages?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.