NIntegrate
- To: mathgroup at smc.vnet.net
- Subject: [mg89176] NIntegrate
- From: Michael Weyrauch <michael.weyrauch at gmx.de>
- Date: Wed, 28 May 2008 04:45:19 -0400 (EDT)
- Reply-to: michael.weyrauch at gmx.de
Hello, I evaluate in Mathematica 5.2 Timing[Do[NIntegrate[Sin[x], {x, 0., 1.}], {k, 10000}]] {1.516 Second, Null} Doing this on the same computer in Mathematica 6.0.2 Timing[Do[NIntegrate[Sin[x], {x, 0., 1.}], {k, 10000}]] {84.5, Null} which does not look like progress. I realize that Mathematica 6.0.2 may use much more sophisticated techniques than 5.2, therefore, I directed it what I think Mathematica 5.2 may use (??): Timing[Do[NIntegrate[Sin[x], {x, 0., 1.}, Method -> {"GaussKronrodRule", "Points" -> 2, "SymbolicProcessing" -> 0}], {k, 10000}]] {21.391, Null} Still not very convincing in comparison to 5.2. What is going on here? And how can I direct Mathematica 6 to be as fast as 5.2 in trivial cases as the example above? Michael Weyrauch
- Follow-Ups:
- Re: NIntegrate
- From: "W_Craig Carter" <ccarter@mit.edu>
- Re: NIntegrate