[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
Solved

# distances

Posted on 2000-03-17
Medium Priority
338 Views
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
Question by:sofiaf
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
1 Comment

LVL 1

Accepted Solution

phiro earned 300 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

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
###### Suggested Courses
Course of the Month14 days, 16 hours left to enroll