The Maple int command will handle most integrals that can be done analytically. Both definite and indefinite integrals can be done, as shown by the following examples.
Notice that Maple doesn't include a constant of integration for indefinite integrals.
Unfortunately, there are lots of integrals that can't be done analytically. (The ones that can be done tend to appear in calculus texts. The ones that can't be done often appear in real life.) When Maple can't do an integral, it simply returns it unevaluated. The example below show how to use the evalf command to get Maple to evaluate the integral numerically.
Maple uses a sophisticated numerical integration routine with
automatic error control to evaluate definite integrals that it can't
do analytically. In the next section of this lab, we introduce two simple
numerical integration techniques that are widely used by engineers and