File:Riemann sum error.svg

Summary

Description
English: Graph showing the value of the Riemann sum approximation to (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.
Date
Source Own work
 This W3C-unspecified diagram was created with Mathematica.
Category:Unspec SVG created with Mathematica#00100302Riemann%20sum%20error.svg
Author User:Dcoetzee
Category:Riemann integral Category:Images with Mathematica source code

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#Riemann%20sum%20error.svgCategory:Self-published work

Source

Mathematica code:

LogLinearPlot[{8/3, 8/3 + 4/Floor[n] + 4/(3 Floor[n]^2)}, {n, 1, 
  1000}, PlotRange -> {2, 5}, AxesStyle -> FontSize -> 14, 
 PlotPoints -> 1000, Exclusions -> None, 
 Ticks -> {Table[10^i, {i, 0, 3}], Automatic}]

The plot was then edited in Inkscape to use Liberation Serif and add axes labels.

Category:CC-Zero Category:Images with Mathematica source code Category:Riemann integral Category:Self-published work Category:Unspec SVG created with Mathematica