student(deprecated)/middlesum - 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)/middlesum

student

  

middlesum

  

numerical approximation to an integral

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

middlesum(f(x), x=a..b)

middlesum(f(x), x=a..b, n)

Parameters

f(x)

-

algebraic expression in x

x

-

variable of integration

a

-

lower bound for the range of integration

b

-

upper bound for the range of integration

n

-

(optional) indicates the number of rectangles to use

Description

• 

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

• 

The function middlesum computes a numerical approximation to a definite integral using rectangles. The height of each rectangle (box) is determined by the value of the function at the midpoint of each interval.

• 

Four equal-sized intervals are used by default.

• 

The command with(student,middlesum) allows the use of the abbreviated form of this command.

Examples

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

> 

with⁡student:

> 

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

∑i=03⁡54+i2k⁢ln⁡54+i22

(1)
> 

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

∑i=011⁡sin⁡1312+i6⁢1312+i6+sin⁡1312+i66

(2)

See Also

Student

student(deprecated)[leftbox]

student(deprecated)[leftsum]

student(deprecated)[middlebox]

student(deprecated)[rightbox]

student(deprecated)[rightsum]

student(deprecated)[simpson]

student(deprecated)[trapezoid]

Student[Calculus1][MidpointRiemannSum]

Student[Calculus1][RiemannSum]

value