5 lines
127 B
ObjectPascal
5 lines
127 B
ObjectPascal
##
|
|
function rootmeansquare(n: array of integer) :=
|
|
Sqrt(n.Sum(x -> x * x) / n.Length);
|
|
|
|
rootmeansquare(Arr(1..10)).Println;
|