Determines difference values of consecutive elements
The function Diff calculates the difference values of the successive elements of a list. The result is also a list that is one element shorter than the argument.
Diff (list)
Diff([2,5,9,11]) =3,4,2