student(deprecated)/trapezoid - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/trapezoid

student

  

trapezoid

  

numerical approximation to an integral

 

Calling Sequence

Parameters

Description

Examples

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.

withstudent:

trapezoidxklnx,x=1..3

i=131+i2kln1+i22+3kln34

(1)

trapezoidsinxx+sinx,x=1..3,12

sin16+i=111sin1+i61+i6+sin1+i66+sin33

(2)

See Also

Student

student(deprecated)[leftbox]

student(deprecated)[leftsum]

student(deprecated)[middlesum]

student(deprecated)[rightbox]

student(deprecated)[rightsum]

student(deprecated)[simpson]

Student[Calculus1][ApproximateInt]