2
$\begingroup$

Given a sequence of $N$ $8$-digit numbers, how to calculate the average delta value, thanks.

  • 2
    By "delta value" do you mean the difference between each of the N numbers?2012-11-02
  • 0
    @skullpatrol yes2012-11-02
  • 0
    Take the sum of those numbers and divide it by the number of numbers.2012-11-02
  • 0
    That is: add up the delta-values, and divide by how many delta-values you are using; to get the average-delta-value.2012-11-03

1 Answers 1

1

Divide the difference between the last element of the sequence and the first by $N-1$.

  • 0
    Definitely by $N-1$. Edited to correct.2012-11-02
  • 0
    This assumes that the least of the numbers comes first and the greatest comes last, yes?2012-11-02
  • 0
    @Cameron, no, I was not assuming any particular order.2012-11-02
  • 0
    @DanBrumleve How does it work?2018-09-20