INT FROM ... TO

From iMath
Revision as of 19:20, 29 March 2017 by Jrheinlaender (Talk | contribs) (Created page with "{{Keyword | 1= <code>INT FROM symbol = expression TO { expression} { expression differential(symbol)}</code> | 2= Create an integral from the lower bou...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

INT FROM symbol = expression TO { expression} { expression differential(symbol)}

Implemented in iMath since version 2.2.0 or earlier.

Explanation

Create an integral from the lower bound to the upper bound. The integral can then be symbolically evaluated with the simplification type integrate. If the upper bound is a number or a variable then the curly braces around it can be omitted. The differential can be contained in the expression and iMath will find it (you might have to expand the expression first). But if there is no differential matching the integration variable anywhere, then you will get strange results.

Example

@int@ EQDEF z = INT FROM x = -%pi to %pi { sin(x) differential(x)} defines the integral and @simp@ EQDEF SIMPLIFY(@int@, "integrate")<code> will evaluate it to the value 0.

See also

{{{4}}}