Re: Definite integral with huge variations in magnitude
- From: axlq@xxxxxxxxxxx (axlq)
- Date: Thu, 10 Aug 2006 14:26:05 +0000 (UTC)
In article <1155186401.683328.190850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Peter <petersamsimon2@xxxxxxxxxxx> wrote:
Using Matlab's quad and quadl automatic adaptive routines yield a value
for the integral of 886.6380. Obtaining this same answer for either
quad (adaptive simpson) or quadl (adaptive lobatto) tends to make me
believe these algorithms are returning the correct answer.
I would say that you're going to have trouble doing this in Excel,
Thanks Peter. It's actually no trouble. The netlib fortran
routines translate pretty much line-by-line to Visual Basic. I
already done that with the Romberg and AdaptQuad integration
routines from http://www.netlib.org/textbook/mathews/chap7.f but I
wasn't sure if it was coming out with the correct result. Now that
a couple people have reported 886.638 as the result, I can compare
mine.
I'm on business travel at the moment so I can't do it now. If the
output from AdaptQuad doesn't match, I'll try quanc8.f as you
suggest. Actually I'll implement it anyway just to see if one has a
speed advantage over the other.
-Alex
.
- References:
- Definite integral with huge variations in magnitude
- From: axlq
- Re: Definite integral with huge variations in magnitude
- From: Robert Israel
- Re: Definite integral with huge variations in magnitude
- From: axlq
- Re: Definite integral with huge variations in magnitude
- From: Peter
- Definite integral with huge variations in magnitude
- Prev by Date: Re: Creating an matrix of possible combinations
- Next by Date: Re: Definite integral with huge variations in magnitude
- Previous by thread: Re: Definite integral with huge variations in magnitude
- Next by thread: Re: Definite integral with huge variations in magnitude
- Index(es):
Relevant Pages
|