Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: Mathematica Weirdness

  • To: mathgroup at
  • Subject: [mg116705] Re: Mathematica Weirdness
  • From: Bob Hanlon <hanlonr at>
  • Date: Thu, 24 Feb 2011 06:24:30 -0500 (EST)

You need to use more precision

N[Integrate[1000000*Exp[x^2 - 12*x]*x^14, {x, 0, 1}], 20]


NIntegrate[1000000*Exp[x^2 - 12*x]*x^14, {x, 0, 1}]


Bob Hanlon

---- Steve Heston <sheston at> wrote: 

My question is why I get a negative integral of a positive 


The first line gives a negative answer, while the second two lines give 
identical positive answers.  Something is strange here.


Steven L. Heston
Associate Professor
Finance Department
Robert H. Smith School of Business
4447 Van Munching Hall Van Munching Hall
University of Maryland
College Park, MD 20742-1815
301-405-9686 TEL
301-405-0359 FAX
sheston at

  • Prev by Date: making something autoexecute before normal execution
  • Next by Date: Bug in definite integral over Gamma function?
  • Previous by thread: Mathematica Weirdness
  • Next by thread: Re: Mathematica Weirdness