Distansya sa Pagitan ng Dalawang Points Calculator
Hanapin ang tuwid na linya distansya sa pagitan ng dalawang puntos sa isang eroplano.
Mga resulta update bilang ikaw ay mag-type.
Tungkol sa kalkulador na ito
calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also reports the horizontal change (Δx), the vertical change (Δy), and the midpoint of the segment, with a plot of the two points. This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also reports the horizontal change (Δx), the vertical change (Δy), and the midpoint of the segment, with a plot of the two points. This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula.This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula.This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₂).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₁).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₁).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₁).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁) and (x₂, y₁).This calculator is a simple, easy-to-use tool for calculating the distance between two points (x₁, y₁).This calculator is a simple, easy-to-use tool for calculating distances.This calculator is a simple, easy-to-use tool for calculating distances
Mga madalas itanong na katanungan
Ano ang distansya formula?
Ang d = √((x2 − x1)² + (y2 − y1)²). Sa pagitan ng (0,0) at (3,4) ang distansiya ay √(9 + 16) = √25 = 5.
Paano ito ay may kaugnayan sa Pythagorean teorama?
Ang mga pahalang at patayo gaps form ang dalawang paa ng isang tatsulok, at ang distansya ay ang hypotenuse nito - kaya ang distansya formula ay Pythagoras sa grid.
Ano ang mga Δx at Δy?
Ang mga ito ay ang mga pahalang at patayo na pagkakaiba sa pagitan ng mga puntos, x2 − x1 at y2 − y1 — ang dalawang binti ng tatsulok sa likod ng distansiya.
Ang tool ay nagpapakita ng midpoint?
Oo. Kasama ang distansya ito ay nagbibigay ng midpoint, ang coordinate eksaktong kalahati ng daan sa pagitan ng dalawang puntos.
Ang pagkakasunod-sunod ng mga puntos ay mahalaga?
Hindi. Ang mga pagkakaiba ay squared, kaya swapping ang dalawang puntos ay nagbibigay ng parehong distansya.
Maaari itong hawakan negatibong coordinates?
Oo. Anumang tunay na coordinates trabaho, kabilang ang mga negatibo at decimals - ang squaring ay natiling bawat distansya positibo.
API — gamitin ang kalkulador na ito mula sa code
Tawagan ang kalkulador na ito bilang isang libreng JSON endpoint - walang key na kinakailangan. Ipadala ang mga halaga ng patlang sa ibaba bilang mga parameter na query o JSON. Basahin ang buong API docs →
Endpoint
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);
Ang mga resulta ay mga pagtatantya para sa pangkalahatang gabay lamang, hindi pinansiyal, medikal o payo sa buwis.