Kutalika pakati pa Ma Points awiri Calculator
Pezani mtunda wa mzere wozungulira pakati pa maziko awiri pa ndege.
Zithunzizi zimasintha monga momwe mumalemba.
Zachidule
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.This calculator is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbor comparisons in data.This calculator is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbor comparisons in data.This calculator is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbor comparisons in data.This calculator is the everyday tool for map distances, the length of a line segment,
Mafunso ofunsidwa nthawi zambiri
Kodi ndi chiyani formula kuwala?
Kuchokera ku (0,0) mpaka (3,4) mtunda ndi √(9 + 16) = √25 = 5.
Kodi ndi mmene kugwirizana ndi Pythagorean teorem?
The horizontal ndi vertical gaps forming the two legs of a right triangle, ndi kuwala kwa kutalika kwake ndi hypotenuse yake — kotero kuwala kwa kutalika kwake ndi Pythagoras formula pa grid.
Kodi ndi chiyani Δx ndi Δy?
Zimasiyana ndi maziko a mfundo za x2 − x1 ndi y2 − y1, zomwe ndi maziko awiri a triangle ya mfundo ziwiri.
Kodi chidachi chikusonyeza malo apakati?
Ndikofunika. Pamodzi ndi kuwala kwa mtunda amapatsa midpoint, coordinate moyenera pakati pa zigawo ziwiri.
Kodi ndondomeko ya zigawozi ndi yofunika?
Sichoncho. Zosiyana ndi squared, choncho swaping awiri maziko amapereka mtunda wofanana.
Kodi angachitire kugwirizana zoipa?
Yemweyo, aliyense weniweni coordinates ntchito, kuphatikizapo zoyipa ndi decimals - squarering amasunga zonse kuzungulira zopindulitsa.
API — kugwiritsa ntchito izi calculator kuchokera code
Kulemba izi calculator monga ufulu JSON endpoint - palibe chida zofunika. Kutumiza nyanja mfundo pansipa monga mafunso zigawo kapena JSON. Onani zonse API docs →
Chithunzi
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);
Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.