Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

share|improve this question
2  
By "delta value" do you mean the difference between each of the N numbers? –  Ice Boy Nov 2 '12 at 9:00
    
@skullpatrol yes –  Foredoomed Nov 2 '12 at 9:19
    
Take the sum of those numbers and divide it by the number of numbers. –  Ice Boy Nov 2 '12 at 9:51
    
That is: add up the delta-values, and divide by how many delta-values you are using; to get the average-delta-value. –  Ice Boy Nov 3 '12 at 12:32

1 Answer 1

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

share|improve this answer
    
Definitely by $N-1$. Edited to correct. –  Dan Brumleve Nov 2 '12 at 9:54
    
This assumes that the least of the numbers comes first and the greatest comes last, yes? –  Cameron Buie Nov 2 '12 at 10:07
    
@Cameron, no, I was not assuming any particular order. –  Dan Brumleve Nov 2 '12 at 10:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.