Functions
SUMX2PY2
Returns sum of (x^2 + y^2)
Try it
When to use it
When should I use SUMX2PY2?
Use SUMX2PY2 to compute the sum of squared magnitudes across two parallel arrays — useful in physics and statistics where you need the total sum of x² + y² for each paired element.
Used in
Syntax
SUMX2PY2(array_x, array_y)Examples
=SUMX2PY2({2,3,9,1,8,7,5},{6,5,11,7,5,4,4}) // => 521
=SUMX2PY2({1,2,3},{4,5,6}) // => 91
=SUMX2PY2({1,2,3},{1,2,3}) // => 28