Calc.IntegrateSimpson Method
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
doubleThe integral of the function.