Maawa 2000 Maawa 2000 Maawa 2000 Maawa 2000 Maawa 2000 Maawa 2000

Ita shuwa kuti unoziva chiyero chekuenzanisa pakati pezvimwe zvinhu.

Distance —
Kuchinja kwepasi (Δx) —
Kuchinja kwezvizere (Δy) —
Nzvimbo yepakati —

Zvinyorwa zvinogadziridzwa paunenge uchinyora.

Did this calculator give you the right answer?

Nezve iyi kalkulator

This calculator finds the straight-line 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.

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. Because the differences are squared, the order of the points does not change the result, and negative coordinates work fine.

This is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbour comparisons in data. Any two points on a plane have exactly one straight-line distance between them.

Zvimwe zvinobvunzwa zvakanyanya

Chii chinonzi distance formula?

Kubva pa (0,0) kusvika pa (3,4) kureba kwemufananidzo ndewe √(9 + 16) = √25 = 5.

Sezvo chii chinotaura nezve Pythagorean theorem?

The horizontal uye vertical zvikanganiso kuumba maviri makumbo echokwadi triangle, uye upamhi ndeyo hypotenuse — saka upamhi formula ndeyo Pythagoras pa grid.

Ndezvipi Δx neΔy?

Izvi zvinonzi zviyero zvemativi uye zviyero zvemativi pakati pezvimwe zviratidzo, x2 − x1 uye y2 − y1 — zviviri zvemativi etriangle yakajeka pamberi pechi distance.

Chirongwa ichi chinoratidza sei nzvimbo yepakati?

Yeah. Pamusoro pekudzika kwenzvimbo inopa nzvimbo yepakati, iyo inowirirana zvakajeka pakati pezvimwe zvidimbu.

Chii chinonzi pfungwa yekuti zvinhu zvive zvakasiyana?

Hapana. Zvimwe zvinosiyana zvinoenzaniswa, saka kuchinjanisa zvidimbu zviviri zvinopa imwe chete distance.

Inogona kudzora zvisizvo coordinates?

Ndinoda. Any real coordinates work, including negatives and decimals — the squarering keeps every distance positive.

❤️ Love Calculator.Free? Shandisa

𝕏  X Facebook Reddit
API — kushandisa iyi kalkulator kubva code

Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara 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);

Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.