Integrates a CustomFunction object using the Mid Point TrapezoidIntegral method.
Given a target accuracy tolerance, the integral of the generic function f() between the LowerLimit and UpperLimit is calculated by means of the trapezoid formula.
The function to be integrated must have been previously created via the
CustomFunction() function.
This
CustomFunction() would have returned a string 'KEY' which is to be passed to the 'FuncKey' parameter of this function.
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.