The function SUMSQ returns the sum of squares of all given Number values.
SUMSQ(number_1, number_2, ... number_n) -> sum_of_squares
- number_n (type: Number)
- The nth individual Number given as input. n can be arbitrarily large; there is no upper limit to the number of Numbers the function SUMSQ will accept.
- sum_of_squares (type: Number)
- The sum of squares of all of the given Numbers.
SUMSQ(1, 2) -> 5
There is no upper limit to the number of Numbers SUMSQ can process as input. The following example takes five Numbers as input: 1, 2, 3, 1, and 2. Note that the Numbers 1 and 2 are given twice, and that SUMSQ processes the second instance of both numbers exactly like every other given Number:
SUMSQ(1, 2, 3, 1, 2) -> 19