Put the calculated value into the array.

.

Just press F1 in the editor and read about the array functions and the examples there..

This way you'll find many answers a lot faster than here!