next up previous
Next: About this document ... Up: Labs and Projects for Previous: Decimal Place Accuracy


Plot the function. Using left and right sum commands, find which command will be the most accurate, then use this command and find the minimum number of subdivisions necessary for two decimal place accuracy for the area under the curve.
$\displaystyle h(x) = \frac{3+x}{x^2}$, x = 1..5
$f(x) = \sqrt{9-x^2}$, x = 0..3
e(x) = 5x-8, x = -1..4
Consider the function e(x)=5x-8 on the interval [-1,4]. Verify that the middlesum command gives the exact value for the area independant of the number of subintervals you specify. Please explain this using your geometry or trigonometry knowledge.
Plot each of the following functions. Experiment with the rightsum and leftsum commands as well as the rightbox and leftbox commands on the following functions, discover why the rightsum and leftsum are equal.
j(x) = -7x4 + 13x3 - x + 10, x = -0.83177883..2
m(x) = x3 - 6x2 + 5x + 12, x = -1..3
$k(x) = \left\{\begin{array}
 x^2 & \mbox{if $x<1$}\\  \frac{3x}{2} - \frac{1}{2} & \mbox{if $x \geq 1$}
 \end{array} \right. $, x = -2..3
The Maple command to define this function is given below.
  > k:=x->piecewise(x<1, x^2,3/2*x-1/2);

Christine M Palmer