MCS 471 Computer Problem 3: Numerical Integration using Maple/Octave

Due: Friday 20 April 1996



Background Reading: Gerald and Wheatley, Chapter 4

Topics


Maple/Octave Computer Problem:

You can use either Octave or Maple for this assignment. You must hand in a Octave or Maple worksheet that is well documented with comments and plots of integrand functions.

Refer to the Class Octave and Maple Pages, or in particular to the "Integrating a Function with Maple int (newly Revised!):"

or "Octave Example for Evaluating an Integral:"

See also the main class Maple and Octave pages for more help.  

Find the integral of the following three functions:

  1. f1(x) = x**5 - x**3 on (0,2).
  2. f2(x) = {sqrt(x) if x > 0, else x**4} on (-1.,+1.).
  3. f3(x) = {exp(-x^3)/sqrt(x) if x > 0.1, else 10.-68.4*x} on (0,4).



Web Source: http://www.math.uic.edu/~hanson/M471/mcs471cp3.html

Email Comments or Questions to hanson@math.uic.edu

Click Here For Class HomePage