INT
Jump to navigation
Jump to search
Syntax
INT { expression differential(symbol)}
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Create an integral without bounds. The integral can then be symbolically evaluated with the simplification type integrate
. iMath will choose C
as the integration constant automatically.
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 from the evaluation.
The integrand must be enclosed in curly brackets.
Example
@int@ EQDEF z = INT { sin(x) differential(x)}
defines the integral and @simp@ EQDEF SIMPLIFY(@int@, "integrate")
will evaluate it to the value C - cos(x)
.