中点計算器

二つの座標の正確な中間点を見つける。

中点 —
x の中点 —
中点 y —
点間の距離 —

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

この計算機は正しい答えを与えたか。

この計算機の情報

The midpoint is the point exactly halfway between two coordinates. This calculator returns the midpoint, its separate x and y components, and the distance between the two points, with a plot showing the segment split in half.

The method is to average the two x-values and the two y-values independently: midpoint = ((x₁ + x₂) / 2, (y₁ + y₂) / 2). For (0, 0) and (4, 6), the midpoint is ((0 + 4) / 2, (0 + 6) / 2) = (2, 3). Because averaging is symmetric, the order of the points makes no difference, and negative or decimal coordinates work just as well.

Midpoints are used to bisect a line segment, find the centre of a shape, place a label halfway along a line, or average two positions. If you know the midpoint and one endpoint, the other endpoint is 2 × midpoint − known point.

よくある質問

どうやって2点の中点を見つけますか。

2 つの x 座標と 2 つの y 座標の平均を別々に求めます。 (0,0) と (4,6) の中点は ((0+4)/2, (0+6)/2) = (2, 3) です。

中点は平均と同じですか。

はい 中央点は二点の平均値で 座標ごとに取られる

What is the midpoint of (0,0) and (4,6)?

各座標の平均値: ((0 + 4)/2, (0 + 6)/2) = (2, 3)。このツールのデフォルト例は次のとおりです。

点間の距離を示していますか。

はい、中央点と共に、計算機は二つの点を結ぶ線分の長さを与える。

中央点から終点を見つけることはできますか?

Mが中点でAが既知の終点ならば,他の終点は各座標に適用して2M−Aである。

どちらの点が先に来るかによって中点は影響されるか。

座標の平均値を 求める どちらの順序でも 2点を入力すると 同じ中点に着く

❤️ ラブ Calculator.Free? 分けて

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

この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →

エンドポイント

GET https://calculator.free/api/v1/midpoint/

curl

curl "https://calculator.free/api/v1/midpoint/?x1=0&y1=0&x2=4&y2=6"

JavaScript fetch()

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

結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。