M138Assign1W06wMaple

# In maple to nd the value of the indenite integral1 of

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: baforres@math.uwaterloo.ca 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: [> restart: [> 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

## This note was uploaded on 05/23/2010 for the course MATH 138 taught by Professor Anoymous during the Fall '07 term at Waterloo.

Ask a homework question - tutors are online