Help for this page

Select Code to Download


  1. or download this
    sum (consecutive_differences(2, 4, 5, 7))
            = {definition of consecutive_differences}
    ...
    sum(-2, -1, -2)
            = {evaluate sum}
    -5
    
  2. or download this
    sum (consecutive_differences(2, 4, 5, 7))
            = {definition of consecutive differences}
    ...
    (2 - 7)
            = {arithmetic}
    -5