NIntegrate vs. N[Integrate]
- To: mathgroup at yoda.physics.unc.edu
- Subject: NIntegrate vs. N[Integrate]
- From: Mangalam Vasudaven <TVASUDAVE at cc.curtin.edu.au>
- Date: 21 Jul 1993 13:23:54 +0800
I was always under the impression that it is a lot more efficient to use
NIntegrate when one is trying to get approximate values of definite integrals
than surround it by N. But while playing around with some gamma integrals
I found that NIntegrate took sixty times as much time as the second method.
BTW, Mathematica Book, in page 683, confirms my original impression.
Now, the NIntegrate took 336.36 seconds. And
took just 5.66 seconds, giving an answer accurate to more decimal places than
Why does this happen? Being a novice to Mathematica, I could not figure out
why. If it is of any relevance, I am running version 2.2 under windows.
Curtin University of Technology
Prev by Date:
Electronic circuit simulator
Next by Date:
Previous by thread:
Re: Electronic circuit simulator
Next by thread:
Re: NIntegrate vs. N[Integrate]