dirtyintegral(f,I) computes an approximation of the integral of f on I.
The interval must be bound. If the interval contains one of -Inf or +Inf, the
result of dirtyintegral is NaN, even if the integral has a meaning.
The result of this command depends on the global variables prec and points.
The method used is the trapezium rule applied at n evenly distributed
points in the interval, where n is the value of global variable points.
This command computes a numerical approximation of the exact value of the
integral. It should not be used if safety is critical. In this case, use
command integral instead.
Warning: this command is currently known to be unsatisfactory. If you really
need to compute integrals, think of using another tool or report a feature
request to sylvain.chevillard@ens-lyon.org.