Quadsimp
Gauss-Kronrod quadrature
Syntax
Quadgk(f, a, b) |
f is a user defined function with single independent variable a, b are scalars |
Return a scalar which the the result of integrating function f over [a,b] |
Example
Input |
Output |
f(x) => sin(x) quadgk(f, 0, PI) |
See Also
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad