This preview shows page 1. Sign up to view the full content.
Unformatted text preview: email@example.com Question 1: Integrating in Maple (Review)
Objective: Review how to use Maple to calculate indeﬁnite and deﬁnite integrals.
In Maple, to ﬁnd the value of the indeﬁnite integral1 of a function of one variable f (x) dx, you would enter: int( f(x), x);
To ﬁnd the value of the deﬁnite integral of a function of one variable with the limits of integration, x = a to x = b,
b f (x) dx
a you would enter:
int( f(x), x=a..b);
For example, to evaluate the indeﬁnite integral of f (x) = x2 , or x2 dx, enter the following in Maple (Classic Version ): [> restart:
[> int(x∧2, x);
Alternately, to evaluate the deﬁnite integral of f (x) = x2 from x = 0 to x = 1, or
1 x2 dx
0 enter the following in Maple:
[> int(x∧2, x = 0..1);
Maple tells us that the deﬁnite integral, which is the same as the area under the curve, is in this case, 1/3. (Try it!)
Recall that sometimes Maple can not return an exact answer for the given deﬁnite integral. For example, cons...
View Full Document