The following commands in Maple:
with( Student[Calculus1] ): ApproximateInt( cos(x), x = 0.0..1.5, method = trapezoid, output = plot, partition = 1 );
produces the plot shown in Figure 1.
Figure 1. The trapezoidal rule applied to integrating cos(x) on [0, 1.5].
For more help on approximating integrals or on the Student[Calculus1] package, enter:
Copyright ©2005 by Douglas Wilhelm Harder. All rights reserved.