Right Riemann Sum - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Right Riemann Sum

 

Calling Sequence

Parameters

Description

Examples

Other Riemann Sums

Calling Sequence

RiemannSum(f(x), x = a..b, method = right, opts)

RiemannSum(f(x), a..b, method = right, opts)

RiemannSum(Int(f(x), x = a..b), method = right, opts)

Parameters

f(x)

-

algebraic expression in variable 'x'

x

-

name; specify the independent variable

a, b

-

algebraic expressions; specify the interval

opts

-

equation(s) of the form option=value where option is one of boxoptions, functionoptions, iterations, method, outline, output, partition, pointoptions, refinement, showarea, showfunction, showpoints, subpartition, view, or Student plot options; specify output options

Description

• 

The RiemannSum(f(x), x = a..b, method = right, opts) command calculates the right Riemann sum of f(x) from a to b. The first two arguments (function expression and range) can be replaced by a definite integral.

• 

If the independent variable can be uniquely determined from the expression, the parameter x need not be included in the calling sequence.

• 

Given a partition P=a=x0,x1,...,xN=b of the interval a,b, the right Riemann sum is defined as:

i=1Nfxixixi1

  

where the chosen point of each subinterval xi1,xi of the partition is the right-hand point xi.

• 

By default, the interval is divided into 10 equal-sized subintervals.

• 

For the options opts, see the RiemannSum help page.

• 

This integration method can be applied interactively, through the ApproximateInt Tutor.

Examples

withStudentCalculus1:

RiemannSumsinx,x=0...5.0,method=right

0.4616204858

(1)

RiemannSumxx2x3,x=0..5,method=right,output=plot

RiemannSumtanx2x,x=1..1,method=right,output=plot,partition=20,boxoptions=filled=color=Burgundy

To play the following animation in this help page, right-click (Control-click, on Mac) the plot to display the context menu.  Select Animation > Play.

exactintlnx,x=1..100

exact99+200ln2+200ln5

(2)

evalfexact

361.5170185

(3)

RiemannSumlnx,1..100,method=right,outline=true,output=animation

Other Riemann Sums

  

Left Riemann Sum

  

Lower Riemann Sum

  

Midpoint Riemann Sum

  

Upper Riemann Sum

See Also

plot/options

Student

Student plot options

Student[Calculus1]

Student[Calculus1][ApproximateInt]

Student[Calculus1][ApproximateIntTutor]

Student[Calculus1][RiemannSum]

Student[Calculus1][VisualizationOverview]