Matlab calculates the square of 1-10000