defint#
Evaluate a definite integral between two bounds.
Available in: math cells, REPL.
Syntax#
defint(expression, start, end [, variable])
Arguments and behavior#
Pass an expression, lower bound, upper bound and optional variable name. Include the variable explicitly for clarity. Singularities may require special treatment. The example returns scalar (number).
Example#
Edit the inputs, then use Run or Reset. Changes stay in this example.
Example
defint("x^2",0,1,"x")Interactive examples could not load. You can still copy the expressions.
Expected result: 0.33333333333333.