Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

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

Search the Archive

Re: question about NIntegrate

  • To: mathgroup at
  • Subject: [mg124974] Re: question about NIntegrate
  • From: Bill Rowe <readnews at>
  • Date: Wed, 15 Feb 2012 04:42:48 -0500 (EST)
  • Delivered-to:

On 2/14/12 at 6:38 AM, nbbienia at (Leslaw Bieniasz)

>I want to use function NIntegrate to integrate a function of x that
>depends on two parameters y and z. However, when I write something
>of the kind:


>I get an error: Integrand is not numerical at {x} = {1.}

I don't see an error when I paste your code into a fresh
session. That is:

In[1]:= y = 10;
z = 1;
NIntegrate[Exp[-(x - y)/z], {x, 0, Infinity}]

Out[3]= 22026.5

In[4]:= $Version

Out[4]= 8.0 for Mac OS X x86 (64-bit) (October 5, 2011)

  • Prev by Date: How to select only points which are inside a domain (cont)
  • Next by Date: Re: Print Selection, Mathematica 7, in Lion
  • Previous by thread: more questions about NIntegrate
  • Next by thread: Re: question about NIntegrate