 student(deprecated)/trapezoid - Maple Help

student

 trapezoid
 numerical approximation to an integral Calling Sequence trapezoid(f(x), x=a..b) trapezoid(f(x), x=a..b, n) Parameters

 f(x) - algebraic expression in x x - variable of integration a - lower bound on the range of integration b - upper bound on the range of integration n - (optional) indicates the number of trapezoids to use Description

 • Important: The student package has been deprecated. Use the superseding command Student[Calculus1][ApproximateInt] instead.
 • The function trapezoid computes a numerical approximation to an integral using the Trapezoidal rule. If symbolic arguments are given, an appropriate formula is generated.
 • Four equal-sized intervals are used by default.
 • The command with(student,trapezoid) allows the use of the abbreviated form of this command. Examples

Important: The student package has been deprecated. Use the superseding command Student[Calculus1][ApproximateInt] instead.

 > $\mathrm{with}\left(\mathrm{student}\right):$
 > $\mathrm{trapezoid}\left({x}^{k}\mathrm{ln}\left(x\right),x=1..3\right)$
 $\frac{\left({\sum }_{{i}{=}{1}}^{{3}}{}{\left({1}{+}\frac{{i}}{{2}}\right)}^{{k}}{}{\mathrm{ln}}{}\left({1}{+}\frac{{i}}{{2}}\right)\right)}{{2}}{+}\frac{{{3}}^{{k}}{}{\mathrm{ln}}{}\left({3}\right)}{{4}}$ (1)
 > $\mathrm{trapezoid}\left(\mathrm{sin}\left(x\right)x+\mathrm{sin}\left(x\right),x=1..3,12\right)$
 $\frac{{\mathrm{sin}}{}\left({1}\right)}{{6}}{+}\frac{\left({\sum }_{{i}{=}{1}}^{{11}}{}\left({\mathrm{sin}}{}\left({1}{+}\frac{{i}}{{6}}\right){}\left({1}{+}\frac{{i}}{{6}}\right){+}{\mathrm{sin}}{}\left({1}{+}\frac{{i}}{{6}}\right)\right)\right)}{{6}}{+}\frac{{\mathrm{sin}}{}\left({3}\right)}{{3}}$ (2)