English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how do you find the distance between two points on a straight line? Please tell me any formula or method.

2007-06-03 09:41:38 · 5 answers · asked by Tp 2 in Science & Mathematics Mathematics

5 answers

the distance between to points is equivalent to the square root of the sum of (x1-x2)^2 and (y1-y2)^2

so say we have the points (5,3) and (-2,4)

We would do
5--2 = 5+2 =7 (this is our x1-x2)
3-4= -1 (this is our y1-y1)

Now we square them
7^2= 49
-1 ^2 = 1

Then we add them together
49+1=50

We then take the square root of the sum:
square root (50) = 7.07

7.07 is thus the distance between the points (5,3) and (-2,4)

2007-06-03 09:50:43 · answer #1 · answered by Anonymous · 0 0

If you know the cords of the two points

AB^2 = (x1-x2)^2 + (y1-y2)^2

If you know the gradient of the line, m and the two x cords, then you can use trig to find the distance.

AB = (x2-x1) / cosθ
where θ = atan(m)

2007-06-03 16:45:51 · answer #2 · answered by Dr D 7 · 0 0

sqrt ( (x1 - x2)^2 + (y1 - y2)^2 )

where x1 x coord of point 1
where y1 y coord of point 1
where x2 x coord of point 2
where y2 y coord of point 2

2007-06-03 16:45:27 · answer #3 · answered by gjmb1960 7 · 0 0

d = sqrt[(x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2] in flat 3-dim space.

2007-06-03 17:11:31 · answer #4 · answered by jcsuperstar714 4 · 0 0

Let the points be A(c, d) and B(e, f)

Then distance AB = √[(e - c)² + (f - d)²]

2007-06-03 16:47:13 · answer #5 · answered by fred 5 · 0 0

fedest.com, questions and answers