Calc.IntegrateSimpson Method
Returns the integral of the function func from a to b.
Integration is performed by Simpson’s rule.
Public Shared Function IntegrateSimpson( _ |
This language is not supported or no code example is available.
public static double IntegrateSimpson( |
static double IntegrateSimpson( |
public static function IntegrateSimpson( |
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
func
-
IntegrationFunction
The function to integrate.
-
a
-
double
Start x of function.
-
b
-
double
End x of function.
-
maxiter
-
int
The maximum number of iterations. This can be usually
be a large number since the iteration stops when the given tolrance has
been reached.
-
tol
-
double
The tolerance wanted. Lower number will result in a higher
number of iterations.
Return Value
double
The integral of the function.
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8