Precision Error

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

The plots in this Demonstration show precision error. The formula is true for all real . To plot for various , Mathematica correctly finds numerical values very close to 0. In the plot, these infinitesimal deviations are magnified a quadrillion-fold.

[more]

Various types of machine error—round-off, precision, accumulated—have led to the loss of lives and fortunes. For example, the Patriot missile system relies on a .1 second internal clock. The binary machine considers this as a 209715/2097152 second clock. In a 1991 incident during Operation Desert Storm, after being on for 100 hours, the missile tracking timing had accumulated a .34 second error. This rendered it unable to track an incoming missile, which subsequently fell intact on a barracks and killed 28 people.

[less]

Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

Patriot missile incident GAO report: http://www.fas.org/spp/starwars/gao/im92026.htm.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send