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

student

  

simpson

  

numerical approximation to an integral

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

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

simpson(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 rectangles to use

Description

• 

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

• 

The function simpson approximates a definite integral using Simpson's rule.  If the parameters are symbolic, then the formula is returned.

• 

Four equal-sized intervals are used by default.

• 

The command with(student,simpson) 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:

simpsonxklnx,x=1..3

3kln36+2i=1212+ikln12+i3+i=111+ikln1+i3

(1)

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

sin19+2sin39+2i=16sin56+i356+i3+sin56+i39+i=15sin1+i31+i3+sin1+i39

(2)

See Also

Student

student(deprecated)[leftbox]

student(deprecated)[leftsum]

student(deprecated)[middlesum]

student(deprecated)[rightbox]

student(deprecated)[rightsum]

student(deprecated)[trapezoid]

Student[Calculus1][ApproximateInt]