Solved

distances

Posted on 2000-03-17
1
298 Views
Last Modified: 2010-05-02
I have a list of points (x,y) in a sheet of excel and the correspondent scatter graph. Can you tell me how to get the distances between the points.
0
Comment
Question by:sofiaf
1 Comment
 
LVL 1

Accepted Solution

by:
phiro earned 100 total points
ID: 2627518
Point one = (x1, y1)
Point two = (x2, y2)
Result is R2

Distance is :
R2  = (x2-x1)^2 + (y2-y1)^2

So your distance is the result squared.
Distance = R2 ^ 1/2

(Good ole Pythogoras)

Of course this is assuming you work in a orthogonal space (the x and y axis' are at a 90 degrees angle)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now