Analysis
Calculate the averages and standard deviations of an array but with a moving fixed scope; store it to an array and print the result. i.e. Find the average and standard deviations of the data between index 0 and 4.
Code
Syntax highlighting thanks to pastie.org