PHP Oblicz wariancję
$variance = array_sum(array_map(function ($x) use ($fMean) {
return pow($x - $fMean, 2);
}, $array)) / count($array);
steamboatid
$variance = array_sum(array_map(function ($x) use ($fMean) {
return pow($x - $fMean, 2);
}, $array)) / count($array);