距離計算機
座標平面上の2点間の距離を求めます。
返済スケジュール
| # | 支払い | 元金 | 利息 | 残高 |
|---|---|---|---|---|
時間経過による成長
| 年 | 投資額 | 値 |
|---|---|---|
はじめに
Distance Calculator - Find the distance between two points on a coordinate plane. Enter X1, Y1, X2, Y2 to get an instant result.
計算式
Euclidean distance between two points = √((x₂−x₁)² + (y₂−y₁)²).
ステップごとの説明
- Enter the X1.
- Enter the Y1.
- Enter the X2.
- Enter the Y2.
- Click Calculate to see your result instantly.
実例
Example: With X1 = 0, Y1 = 0, X2 = 3, Y2 = 4, the Distance Calculator gives Distance: 5.
よくある質問
Does this work in 3D?
What if the two points are the same?
What inputs does the Distance Calculator need?
How accurate is the Distance Calculator?
Is the Distance Calculator free to use?
距離計算機について
The distance between two points is one of the most fundamental measurements in geometry and real-world navigation. Whether you are working on a coordinate geometry problem or calculating how far apart two locations are on a map, this distance calculator gives you accurate results instantly.
The Distance Formula
The distance formula comes directly from the Pythagorean theorem. For two points (x1, y1) and (x2, y2) on a coordinate plane, the distance is: d = sqrt((x2-x1)^2 + (y2-y1)^2).
The horizontal difference (x2-x1) and the vertical difference (y2-y1) form the two legs of a right triangle. The distance between the points is the hypotenuse of that triangle.
For example, the distance between (1, 2) and (4, 6) is sqrt((4-1)^2 + (6-2)^2) = sqrt(9+16) = sqrt(25) = 5.
3D Distance
In three dimensions, the formula extends naturally: d = sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2). This is useful in physics, engineering, and 3D computer graphics when working with points in space.
Real-World Applications
In navigation, the straight-line distance between two GPS coordinates is approximated using similar formulas. In robotics, the distance between a robot's current position and its target determines how far it needs to move. In game development, distance calculations are used to detect collisions, trigger events, and determine if objects are within range of each other.
In data science and machine learning, Euclidean distance is used in algorithms like k-nearest neighbors and k-means clustering to measure how similar or close data points are to each other.
For students, the distance formula is a standard topic in algebra and coordinate geometry, appearing frequently in geometry proofs and on standardized tests.