I-Calculator yokuphakama phakathi kwezinhlamvu ezimbili
Thola umgama we-line oqondile phakathi kwezinhlamvu ezimbili ezikwi-plane.
Iziphetho zivuselelwa uma ubhala.
Malunga nale khadi
calculator is a simple and easy to use tool that can be used to find 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 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.This calculator is a simple and easy to use tool that can be used to find the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also report 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 and easy to use tool that can be used to find the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also report 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 and easy tool that can be used to find the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also report the horizontal change (Δx), the vertical change (Δy), and the midpoint of the segment, with a plot of the two points.This calculatorThe 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
Imibuzo ebuzwa kaningi
Yini ifomu lokuhamba?
I-d = √((x₂ − x₁)² + (y₂ − y₁)²). Iphakathi kuka (0,0) no (3,4) ubude buyi-√(9 + 16) = √25 = 5.
Ingabe ihlobene kanjani ne-Pythagorean theorem?
Izingcindezi ezihamba phambili nezihamba phambili zihlanganisa izinyawo ezimbili zesithathu esiqondile, futhi ubude buyi-hypotenuse yayo - ngakho ubude befomula yi-Pythagoras kwi-grid.
Yini i-Δx ne-Δy?
Ziyizinhlobonhlobo ezihamba phambili nezihamba phambili phakathi kwezinkomba, x2 - x1 ne y2 - y1 — izinyawo ezimbili zesithathu esifanele ngemuva kokuhamba.
Ingabe isisetshenziswa sibonisa indawo ephakathi?
Yebo. Kusuka emgwaqweni onikeza indawo ephakathi, i-coordinate iphakathi kwezingxenye ezimbili.
Ingabe ukulandelana kwezinhlamvu kubaluleke?
Akuna. Izilinganiso zihlukaniswe, ngakho ukushintshana kwezinhlamvu ezimbili kunikeza ubude obufanayo.
Ingaphatha kanjani amakhomishini a negative?
Yebo. Noma yiziphi izilinganiso ezingokoqobo zisebenza, kufaka phakathi izibi kanye nezikhulu — ukuhlukaniswa kugcina wonke umzila o positifi.
API — sebenzisa le calculator kusuka kukhodi
Nquma le kalkuli njengendawo ephelezelwa i-JSON - akukho isitshixo esidingekayo. Thumela amaxabiso endawo ngezansi njengepharamitha yombuzo noma i-JSON. Funda i-API egcwele →
Ingxenye yendawo
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);
Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.