Lecture No 2: Error Analysis
Numerical methods provide estimates that are very close to an exact analytical solution, obviously an error is introduced into the computation therefore it is important to understand the errors. Numerical computation can also be defined as a vehicle to study errors in computations.
Error is the difference between the actual value and the computed value. Let x be the actual value of a certain problem and be its approximate value then mathematically error can be written as
Let
x=2 be the actual value and
be its approximate solution
then an error is 0.01
Three Important steps in Error Analysis
It is the study and evaluation of errors. An error analysis generally consists of the following three steps:
- ·
To identify the errors, secondly
- ·
To quantify the errors,
and then the lastly
- · To minimize as per our need.
SOURCES
OF ERROR:
1. Gross Errors
Gross errors are either caused by human mistakes or by
the computer. A few examples of these errors are as
follows:
i.
Misreading or misquoting the figures,
particularly in the interchanges of adjacent. digits,
ii.
Use of inaccurate mathematical formula
(algorithm) to solve a particular problem,
and
iii.
Use of
inaccurate data.
Although gross
errors are not directly concerned with most of the numerical methods discussed,
they can sometimes have a great impact on the success of modeling efforts. Thus, they always are kept in mind when
applying numerical techniques in the context of real-world problems. These errors are not very serious and can be avoided if enough care is taken in using proper
numerical analysis techniques. We shall primarily concern ourselves with the
latter types of errors.
2. Rounding Errors
When a numerical method is actually run on a digital computer
after transcription to a computer program form a kind of error
called round-off error is introduced.
3. Truncation
error:
It is defined as the replacement
of one series with another with fewer terms.
Example:
- · Binomial expression.
- · Infinite geometric series,
- Taylor’s or McLaren’s series.
👍
ReplyDelete