sqrt(0.5814^2+0.446^2+0.446^2+0.3876^2+1.592^2)*1.592 code example Example: sqrt(14^2+5^2) sqrt(14^2+5^2) =~ 14.866