This example defines an array [6,4,9,10,8] and then prints out the sum of the squares of those numbers.