Jerry
Mon Jan 02 06:29:12 CST 2006
Bernard Liengme discusses simple numerical integration at
http://www.stfx.ca/people/bliengme/ExcelTips/AreaUnderCurve.htm
More complex formulas with error bounds are given by
http://www.convertit.com/Go/ConvertIt/Reference/AMS55.ASP?Res=150&Page=875
If the function is analytically integrable, that will always be more
accurate than numerical integration
Jerry
WayneL wrote:
> Hi
>
>
> The C1 and C2 corresponds to column 1 & 2. I have x data in column 1 (C1)
> and y data in C2. The start and end points of the integral in the beginning
> and end of the data in both C1 and C2. I should really say I want to find
> the apx area under the curve this data corresponds to.
>
>
>
> Cheers
>
> WayneL
>
> "Harlan Grove" <hrlngrv@aol.com> wrote in message
> news:uRChO$xDGHA.3468@TK2MSFTNGP15.phx.gbl...
>
>>"WayneL" <home@wlawson-nomorespam.co.uk> wrote...
>>
>>>I have built a spreadsheet that can calculate the area under a curve
>>>of a set of data but I would like to have this in VBA for Excel, in
>>>say Integral(C1,C2) format or a button on the toolbar.
>>>
>>>Can anyone point me in the right direction for acquiring the code?
>>>
>>Numerical integration using cmputers isn't a novel concept. What would
>>your C1 and C2 be? In other words, what would these cells contain?
>>Definite integrals require two end points, but they also require a
>>particular curve. How would you specify the particular curve for your VBA
>>procedure?