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

student

  

rightbox

  

graph an approximation to an integral

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rightbox(f(x), x=a..b, <plot options>)

rightbox(f(x), x=a..b, n, 'shading'=<color>, <plot options>)

Parameters

f(x)

-

algebraic expression in x

x

-

variable of integration

a

-

lower bound of range of integration

b

-

upper bound of range of integration

n

-

(optional) indicates the number of rectangles to use

color

-

indicates the color used to shade the rectangles

plot options

-

(optional) additional plot options, see ?plot,options

Description

• 

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

• 

The function rightbox will generate a plot of rectangular boxes used to approximate a definite integral.  The height of each rectangle (box) is determined by the value of the function at the right side of each interval.

• 

Four equal-sized intervals are used by default.

• 

The value of the corresponding numerical approximation can be obtained by the Maple procedure rightsum.

• 

The command with(student,rightbox) 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.

withstudent&colon;

rightboxx4lnx&comma;x=2..4&comma;color=MAGENTA

rightboxsinxx+sinx&comma;x=0..2π&comma;5&comma;color=CYAN

rightboxsinxx+sinx&comma;x=0..2π&comma;5&comma;shading=BLUE

See Also

plot[options]

Student

student(deprecated)[leftbox]

student(deprecated)[leftsum]

student(deprecated)[middlebox]

student(deprecated)[middlesum]

student(deprecated)[rightsum]

student(deprecated)[simpson]

student(deprecated)[trapezoid]

Student[Calculus1][RiemannSum]

Student[Calculus1][RightRiemannSum]