Chapter 1
Chapter 1
Chapter One
Introduction
egral
while we can find an approximate value for this integral, using numerical
methods.
realistic way.
Since for any numerical Algorithm (the steps of the numerical method), we have
lots of mathematical calculations, we need to choose a suitable computer language
such as Matlab or Mable and write the algorithm processes in programing steps.
4
Dr. Maan A. Rasheed Numerical Analysis
In fact, the accuracy of numerical solutions, for any problem, is controlled by three
criteria:
We can point out the most important types and sources of these errors as follows:
1- Rounding errors: this type of errors can be got, because of the rounding of
numbers in computer programming languages.
few terms of these series when we formulate the algorithm, therefore, we get
errors, called truncation errors.
Example :-
If we compute with taking 4 terms, we get more errors than with taking 10
terms.
3-Total errors:- Since any numerical algorithm is about iterative presses, the
solution in step depends on the solution in step . Therefore, for larger
number of steps we get more errors, and those errors are the total of all previous
types of errors.
Let is the approximate value of , there are two methods can be used to
measure the errors:-
5
Dr. Maan A. Rasheed Numerical Analysis
1- Absolute Error:-
2- Relative error:-
Solution
Remark: Clearly,
Questions
Q1: