M138Assign1W06wMaple

In maple to nd the value of the indenite integral1 of

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

View Full Document Right Arrow Icon
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 indefinite and definite integrals. In Maple, to find the value of the indefinite integral1 of a function of one variable f (x) dx, you would enter: int( f(x), x); To find the value of the definite 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 indefinite integral of f (x) = x2 , or x2 dx, enter the following in Maple (Classic Version ): [> restart: [> int(x∧2, x); Alternately, to evaluate the definite 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 definite 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 definite 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