Averages/Mean time of day: Difference between revisions
Content added Content deleted
Line 1,274: | Line 1,274: | ||
$y += [Math]::Sin($Angles[$i] * [Math]::PI / 180) |
$y += [Math]::Sin($Angles[$i] * [Math]::PI / 180) |
||
} |
} |
||
$result = [Math]::Atan2(($y / $Angles.Count), ($x / $Angles.Count)) * 180 / [Math]::PI |
$result = [Math]::Atan2(($y / $Angles.Count), ($x / $Angles.Count)) * 180 / [Math]::PI |