To integrate an expression switch MathMate to integration mode by clicking the mode icon until you see the integration sign or choosing Integration in the Mode toolbar. The mode icon is situated to the left of the expression field. Below and above the integration sign there are entry fields for integration limits.
In the integration mode you may calculate (one-dimensional) integrals of expressions with respect to a given integration variable. Other variables of the expression are considered parameters. The choice of the integration variable and initialization of parameters are performed prior to computations.
To integrate an expression:
When MathMate displays the result of the integration it also shows the estimated absolute computation errror in the Result window.
Sometimes the MathMate integration algorithm is unable to reach the given accuracy. It can happen if the function contains fast oscillations or a singularity near some point A. In these cases MathMate interrupts calculation and displays the message
Precision not reached, may be singularity near A
When you see such a message first try to analyze if there is a non-integrable singularity point in the neighbourhood or try to decrease the accuracy using significant digits option (increasing significant digits is NEVER recommended in case you get the message about a singularity point)
See also