Iam new to perl. This is my problem.
I have calculated the distance using the formula
my $distance = sqrt(($x2 - $x1)**2 + ($y2 - $y1)**2 + ($z2 - $z1)**2);
and the value of $distance looks like this:
3.72851967944384
5.83210433720111
7.12922562414741
10.2322964186931
11.2073015931579...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.