MathGroup Archive 2009

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

Search the Archive

Nested numerical integration

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99138] Nested numerical integration
  • From: tsg.moore at googlemail.com
  • Date: Tue, 28 Apr 2009 04:45:10 -0400 (EDT)

Hi, I'd like to compute a nested integral like,

NIntegrate[ w^2 * NIntegrate[1/(s-w), {s, 1, 5}], {w, -5, -1}]

Unfortunately, mathematica gives me an error (NIntegrate::inumr) and
it also outputs the wrong value. Is there a way to do these types of
integrals?


  • Prev by Date: Re: Mathematica crashed -- where did my notebook go?
  • Next by Date: variable initial value in NDSolve
  • Previous by thread: Re: Buttons to interactively restart/finish a program
  • Next by thread: Re: Nested numerical integration