cube timer calculations?

jms_gears1

Premium Member
Joined
Jun 10, 2009
Messages
1,303
WCA ID
2009MAUP01
YouTube
Visit Channel
Im making a cube timer and i was wondering how averages are calculated

average of 5
average of 12
3 of 5
10 of 12

i can see how when there are 5 and 12 times but beyond that baffels me

thanks in advance
 
10 of 12: Sum all the 12 times together, subtract the best and worst, divide by 10.

Edit: I also suggest learning about modulo.
 
Last edited:
Im making a cube timer and i was wondering how averages are calculated

average of 5
average of 12
3 of 5
10 of 12

i can see how when there are 5 and 12 times but beyond that baffles me

thanks in advance
6 posts. 2 threads. Just a heads-up. :|


Average of 12 usually refers to 10/12 in this community, just to let you know. Same thing for averages of 5.
 
thanks guys.

i know about modulo actually i made a dec to hex converter so i needed it and ive used it with other things as well i just dont remember what...

and a quick question about avg of 12 etc.

when there is more then 12 do you just take off the best and worst until theres 10 left?
 
no.
n = number of solves
t = total times (solve 1 + solve 2, etc.
take off best, take off worst
t/(n-2) = average

also known as:
(Sum(times) - (Min(times) + Max(times))) / (Count(times) - (Count(Min(times)) + Count(Max(times))))

or simplified:
(Sum(times) - (Min(times) + Max(times))) / (Count(times) - 2)

So if you have times of 11, 14, 21, 24 it becomes
70 - (11 + 24) / (4-2) = 35 / 2 = 17.5
 
Back
Top