fast_integrate: Fast numerical integration using trapezoidal rule
Description
Fast numerical integration using trapezoidal rule
Usage
fast_integrate(func, a = -6, b = 6, N = 100)
Value
Approximated integral value.
Arguments
- func
Function to integrate.
- a
Lower bound.
- b
Upper bound.
- N
Number of points.