中点計算器
二つの座標の正確な中間点を見つける。
結果はタイプすると更新されます。
この計算機の情報
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. 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. For (0, 0) and (4, 6), the midpoint is ((0 + 4) / 2, (0 + 6) / 2) = (
よくある質問
どうやって2点の中点を見つけますか。
2 つの x 座標と 2 つの y 座標の平均を別々に求めます。 (0,0) と (4,6) の中点は ((0+4)/2, (0+6)/2) = (2, 3) です。
中点は平均と同じですか。
はい 中央点は二点の平均値で 座標ごとに取られる
(0,0)と(4,6)の中点は何か。
各座標の平均値: ((0 + 4)/2, (0 + 6)/2) = (2, 3)。このツールのデフォルト例は次のとおりです。
点間の距離を示していますか。
はい、中央点と共に、計算機は二つの点を結ぶ線分の長さを与える。
中央点から終点を見つけることはできますか?
Mが中点でAが既知の終点ならば,他の終点は各座標に適用して2M−Aである。
どちらの点が先に来るかによって中点は影響されるか。
座標の平均値を 求める どちらの順序でも 2点を入力すると 同じ中点に着く
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。