I was looking for some way to make calculations on values inside array. I know that I can sum the values, sort it or returs max/min. But I am novice and i do not find anything about harder math. I have formula: http://i.imgur.com/O5tNmMh.jpg (can't attach images yet...)
And I have an array [somex, somey, somex, somey,somex, somey, ....] Is it possible to calculate the thing like that?