One occurs when a calculation produces a value which is outside the range that can be represented, and the other arises when the result is mathematically indeterminate, such as when your calculation is effectively dividing zero by zero.To illustrate the first kind of error we could use a variable to specify the number of types of fruit.