Keywords: Riemann sum error.svg en Graph showing the value of the Riemann sum approximation to <math>\int_0 2 x 2 \mathrm d x</math> using right endpoint as rectangle height as the number of rectangles increases It approaches the blue line y 8/3 the actual value of the definite integral Source below own User Dcoetzee 2013-03-23 Riemann integral Cc-zero Source Mathematica code <pre> LogLinearPlot 8/3 8/3 + 4/Floorn + 4/ 3 Floorn 2 n 1 1000 PlotRange -> 2 5 AxesStyle -> FontSize -> 14 PlotPoints -> 1000 Exclusions -> None Ticks -> Table10 i i 0 3 Automatic </pre> The plot was then edited in Inkscape to use Liberation Serif and add axes labels |