how to calculate the average difference between two numbers?
The average difference is the sums of the difference between pairs of consecutive numbers, to get the average, just divide that by the total number of pairs.