This library provides some standard often needed mathematical functions
Status | Name |
---|---|
Number quad8
(
Function ↓func,
Number ↓start,
Number ↓finish,
Number ↓tolerance,
Number ↓max_levels
)
Numerical evaluation of an integral, higher order method. Uses an adaptive recursive Newton Cotes 8 panel rule. Approximates the integral of F(X) from
|
Numerical evaluation of an integral, higher order method. Uses an adaptive recursive Newton Cotes 8 panel rule. Approximates the integral of F(X) from
start
to
finish
to within a relative error of
tolerance
, or until
max_levels
is reached during recursion.
func
is a
Function
that accepts one parameter, a number, and must return a number.
Function
↓func - function to approximate the integral of, over the given rangeNumber
↓start - start of the integral range to approximateNumber
↓finish - end of the integral range to approximateNumber
↓tolerance - relative error toleranceNumber
↓max_levels - maximum levels of recursionNumber
Q - approximated integral of func from start to finish