The purpose of this lab is to give you experience with using Maple to evaluate certain kinds of integrals.
In the days before computers, people used to put a tremendous amount of effort into developing techniques that would allow analytical evaluation of integrals. Still, no matter how they tried, many integrals refused to submit. With the advent of computers and numerical techniques for evaluating integrals, the importance of many of these techniques has diminished considerably.
However, there are some fairly simple techniques that are useful in solving practical problems. One of these, which also has many theoretical applications, is integration by parts. The standard formula is

The trick is to choose u and dv so that
can be
evaluated. A standard example is an integral of the form

where k is a positive integer.
If
is a function that is easy to integrate, and
is an
anti-derivative of
, then a single application of integration by parts
leads to

Note that the power of x has been reduced by one. If integration by
parts can be applied again, further reduction is possible. (What
determines whether we can apply integration by parts or not? Hint - it
is a property of
.)
Maple has a convenient function for doing integration by parts in the student package. The command is intparts and examples are shown below. Remember that you have to load the student package before you can use the Int and intparts commands.
> with(student):
Warning: new definition for D
> intparts(Int(x*cos(x),x),cos(x));

> intparts(Int(x*cos(x),x),x);



A definite integral can be evaluated numerically, by using the evalf command outside the int command. Try this with your integral. For your report, come up with at least two reasons why an analytical answer is better than a numerical one, if you can get it.

is
. What we mean by solution is that the
differential equation is satisfied if you substitute
into it.
Find a particular solution of the differential
equation

Hint - try
, where A
and B are constants. Can you choose values of A and B so that
satisfies the differential equation?