Distance Formula
หรือเรียกอีกอย่างว่า: Euclidean Distance
d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
d = √((x₂ - x₁)² + (y₂ - y₁)²)มันคำนวณอะไร
Finds the straight-line distance between two points in a 2D plane. Derived directly from the Pythagorean theorem.
ตัวแปร
| เครื่องหมาย | ชื่อ | คำอธิบาย |
|---|---|---|
| d | Distance | Distance between two points |
| (x_1, y_1) | Point 1 | Coordinates of the first point |
| (x_2, y_2) | Point 2 | Coordinates of the second point |
ตัวอย่างการทำงาน
1
d = √((4-1)² + (6-2)²)2
d = √(9 + 16) = √25 = 5ผลลัพธ์: 5
ลองใช้เครื่องคิดเลข
สูตรที่เกี่ยวข้อง
#geometry#coordinate geometry#distance