When using numerical methods or algorithms and computing with finite precision, errors of approximation or rounding and truncation are introduced. It is important to have a notion of their nature and their order.

Types of error:

There are two types of error i.e.
1. Absolute error
2. Relative error