MathGroup Archive 2011

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

Search the Archive

NIntegrate through discontinuities

  • To: mathgroup at
  • Subject: [mg121631] NIntegrate through discontinuities
  • From: "Eric Michielssen" <emichiel at>
  • Date: Fri, 23 Sep 2011 03:43:04 -0400 (EDT)
  • Delivered-to:


Suppose I have a function f[x] with singularities or discontinuities at x=b
and x=c.

1. What is the difference between NIntegrate[f[x],{x,a,b,c,d}] and
NIntegrate[f[x],{a,d},Exclusions -> {b,c}]

2. Suppose slist = {b,c}. How do I NIntegrate[f[x],{x,a,b,c,d}]?
NIntegrate[f[x],Flatten[x,a,slist,d]] does not work (as I expected).


Eric Michielssen
Radiation Laboratory
Department of Electrical Engineering and Computer Science
University of Michigan

  • Prev by Date: Error Message on Magnification
  • Next by Date: 1-liner wanted
  • Previous by thread: Re: Arbitrary vector
  • Next by thread: 1-liner wanted