Policies & Guidelines

SUM_SQUARED

Sum of the squares

Description

Given an array of numbers, returns the sum of the squares of the numbers.

Function signature

SUM_SQUARED(values: Array) => Number

Parameter

Description

Values

Array of numeric values

Examples

Formula

Return value

SUM_SQUARED([10, 20, 30])

1400