二点間の距離計算器

平面上の二点間の直線距離を求める。

距離
水平方向の変化 (Δx)
垂直方向の変化 (Δy)
中点

結果はタイプすると更新されます。

この計算機の情報

the distance formula, d = √((x₂ − x₁)² + (y₂ − y₁)²), is simply the Pythagorean theorem applied to a grid: the horizontal and vertical gaps are the two legs of a right triangle and the distance is the hypotenuse. Between (0, 0) and (3, 4), Δx = 3 and Δy = 4, so d = √(3² + 4²) = √(9 + 16) = √25 = 5.ThisThis is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbor comparisons in data. Any two points on a plane have exactly one straight-line distance between them.This is the everyday tool for map distances, the length of a line segment,

よくある質問

距離の公式は何ですか。

d=√(x2−x1)2+(y2−y1)2で,(0,0)と(3,4)の間の距離は√(9+16)=√25=5である。

ピタゴラスの定理とはどう関係するのか。

水平と垂直の間隙は直角三角形の二つの脚を形成し,距離はその斜辺である。

ΔxとΔyは何である?

これらは距離の後ろにある直角三角形の二つの脚である点の間の水平差と垂直差である。

ツールは中央点を表示しますか?

はい 距離とともに 二点の中間の座標を与えます

ポイントの順番は重要ですか。

違う 差は二乗で 2点を交換すると 同じ距離になる

負の座標を扱えるか?

はい、負の座標や小数点を含む、 どんな実数座標でも使えます。 二乗は距離を正に保つのです。

❤️ ラブ Calculator.Free? 分けて

𝕏  X Facebook Reddit
API — コードからこの計算機を使う

この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 API ドキュメントを読む →

エンドポイント

GET https://calculator.free/api/v1/distance-two-points/

curl

curl "https://calculator.free/api/v1/distance-two-points/?x1=0&y1=0&x2=3&y2=4"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/distance-two-points/?" + new URLSearchParams({
    "x1": "0",
    "y1": "0",
    "x2": "3",
    "y2": "4"
  }));
const data = await r.json();
console.log(data.results);

結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。