Re: problem with double integral
- To: mathgroup at smc.vnet.net
- Subject: [mg107669] Re: problem with double integral
- From: dh <dh at metrohm.com>
- Date: Mon, 22 Feb 2010 08:32:00 -0500 (EST)
- References: <hlj3vf$rop$1@smc.vnet.net>
Hi Regina,
you may do it like:
fun[Q_?NumericQ]:= NIntegrate[(Exp[-1/(4 x) - 4 x]), {x, Q, \[Infinity]}]
NIntegrate[1/fun[x], {x, 0, 1}]
Note that I changed the order of the limits and defined fun only for
numerical arguments. Otherwise NIntegrate is not happy.
Daniel
On 18.02.2010 11:15, Regina wrote:
> Hi there,
> i got a problem: how can i evaluate the following integral:
> define:
> i[Q_] := Integrate[(Exp[-a/(4 x) - 4 x]), {x, \[Infinity], Q}]
> now i want to compute:
> NIntegrate[1/i[Q], {Q, 0, 1}]
>
> what am i doing wrong? how can i integrate that function?
>
--
Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at metrohm.com>
Internet:<http://www.metrohm.com>