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

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.

> 

with⁡student:

> 

trapezoid⁡xk⁢ln⁡x,x=1..3

∑i=13⁡1+i2k⁢ln⁡1+i22+3k⁢ln⁡34

(1)
> 

trapezoid⁡sin⁡x⁢x+sin⁡x,x=1..3,12

sin⁡16+∑i=111⁡sin⁡1+i6⁢1+i6+sin⁡1+i66+sin⁡33

(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]