NIntegrate through discontinuities

*To*: mathgroup at smc.vnet.net*Subject*: [mg121631] NIntegrate through discontinuities*From*: "Eric Michielssen" <emichiel at eecs.umich.edu>*Date*: Fri, 23 Sep 2011 03:43:04 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com

Hi, 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). Thanks, Eric Eric Michielssen Radiation Laboratory Department of Electrical Engineering and Computer Science University of Michigan