note 34829 added to function.hypot
| From: | JoeNusz06 at hotmail dot com | Date: | Thu, 07 Aug 2003 21:42:57 +0000 |
| Subject: | note 34829 added to function.hypot | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53599@lists.php.net to get a copy of this message | ||
Just for those who are wondering, this formula measures the distance between two points on a graph.
Say you had the coordinates (2,3) and (4,5), you would do :
sqt(2*4 - 3*5)
And this would reveal the distance.
----
Manual Page -- http://www.php.net/manual/en/function.hypot.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34829
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34829&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34829&report=yes