Computing Basics 1 Sources of Error
نویسنده
چکیده
Numerical solutions to problems differ from their analytical counterparts. Why? The reason for the difference is that most numerical computations involve error. There are two main types of error that can arise. The first, called roundoff error, arises from the fact that computers do not store real numbers instead they store a subset of real numbers: floatingpoint numbers. Thus the solution of computer arithmetic is approximated with the nearest machine-representable number. The second, called truncation error, arises from truncating infinite series, substituting for continuous functions with discrete approximations, and approximating limits of infinite processes. There are two statistics used to measure error: absolute error and relative error. Suppose a real number x is represented in the computer by the floating-point number x̃, then the absolute roundoff error is ||x−x̃|| and the relative roundoff error is ||x−x̃|| ||x|| . Similarly, suppose we approximate a function f by f̃ , then the absolute truncation error from evaluating f at some point x is ||f(x)− f̃(x)|| and the relative truncation error is ||f(x)−f̃(x)|| ||f(x)|| . Most computations will involve a combination of truncation and roundoff error. For example suppose we want to evaluate some function, f(·) at some real number x numerically. In order to do this we approximate f(·) with f̃(·) and the computer stores our real number x as the floating-point number x̃. We can bound the total error, either absolute or relative, by the sum of the roundoff error and the truncation error: total error = ||f̃(x̃)− f(x)|| ≤ ||f̃(x̃)− f(x̃)|| } {{ } truncation error + ||f(x̃)− f(x)|| } {{ } roundoff error . (1)
منابع مشابه
Meaning of Islamic counseling; Basics, Concepts and Principles
Religious counseling is that comes from the concepts and propositions of religion. That is considered by psychologists and counselors. Islam is a comprehensive religion with many followers. It has different doctrines about social, human and health concepts, but there are not clear definitions of Islamic counseling, its' models and patterns. Present study seeks to define the Islamic counseling ...
متن کاملFault Tolerant DNA Computing Based on Digital Microfluidic Biochips
Historically, DNA molecules have been known as the building blocks of life, later on in 1994, Leonard Adelman introduced a technique to utilize DNA molecules for a new kind of computation. According to the massive parallelism, huge storage capacity and the ability of using the DNA molecules inside the living tissue, this type of computation is applied in many application areas such as me...
متن کاملAlgoritmos del muestreo/reconstrucción para realizaciones de procesos Gaussianos con espectros rectangulares
On the basis of the conditional mathematical expectation rule the procedure sampling reconstruction (PMR) is investigated for the sampling process is Gaussian with a rectangular spectrum: when the espectrum is 1) at origin and 2) displaced; in both cases, they estudied the basics functions and functions of reconstruction error, when when the number of samples and interval samples are arbitrary.
متن کاملImprecise Minority-Based Full Adder for Approximate Computing Using CNFETs
Nowadays, the portable multimedia electronic devices, which employ signal-processing modules, require power aware structures more than ever. For the applications associating with human senses, approximate arithmetic circuits can be considered to improve performance and power efficiency. On the other hand, scaling has led to some limitations in performance of nanoscale circuits. According...
متن کاملFault-Tolerant Quantum Computers
Quantum computation is a recently-introduced and novel computing technique which is based on quantum mechanics rather than classical physics. Its starting point is the notion of a quantum bit or “qubit”. Because of the superposition property of quantum states, n qubits can store 2 n numbers simultaneously, implying a type of massive parallelism. Furthermore, quantum states allow powerful forms ...
متن کامل