File:AbsoluteErrorNumericalDifferentiationExample.png

Summary

Description
English: The absolute error in numerical differentiation
Català: Exemple de l'error comés en derivació numèrica degut al arrodoniment i a la aproximació
Date
Source Self-made using TikZ, Beamer and LaTeX
Author Berland
This graph image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.
It is recommended to name the SVG file “AbsoluteErrorNumericalDifferentiationExample.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.
Category:Graph images that should use vector graphics#%20AbsoluteErrorNumericalDifferentiationExample.pngCategory:PNG that should use vector graphics

Details

I made this using the graphics programming language TikZ, Beamer and LaTeX

The plot displays the absolute error when computing the derivative of () using a forward difference (of first order) and a centered difference (of second order),

for various values of . The centered difference is for only.

The noisy negative slope is due to finite precision (64-bit IEEE754) in the computer used, and the positive slope is due to the formula error of the differentiation formula.

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#AbsoluteErrorNumericalDifferentiationExample.pngCategory:PD-self#AbsoluteErrorNumericalDifferentiationExample.png Category:Numerical analysis Category:TikZ graphics
Category:Graph images that should use vector graphics Category:Numerical analysis Category:PD-self Category:PNG that should use vector graphics Category:Self-published work Category:TikZ graphics