Àwọn Àwọn Ààtòjú
Wá àwọn ààyè àìfàn ààyè ààyè láti inú àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè
Àwọn Àtòjọ-ẹ̀yàn àwọn ìṣàmúlò-ètò
Àkóónú ìṣàmúlò-ètò yìí
the midpoint is 2, the distance between the two points is 2. The midpoint is the point exactly halfway between two coordinates, 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, 3). Because averaging
Àwọn Àtòjọ-ẹ̀yàn
Bawo ní o ṣe lè rí ààyè-iṣẹ́ àwọn ààyè-iṣẹ́ meji?
Average the two x-coordinates and the two y-coordinates separately. The midpoint of (0,0) and (4,6) is ((0+4)/2, (0+6)/2) = (2, 3).
Àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́
Yà - ààyè ìsàlẹ̀-ilà ní àwọn ààyè àwọn ààyè mejì, tí a yá ní àwọn ààyè àwọn ààyè.
Kini ààyè-iṣẹ́ tí a fi pamọ́ sí (0,0) àti (4,6)?
Average each coordinate: ((0 + 4)/2, (0 + 6)/2) = (2, 3), the default example this tool shows.
Àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́
Yà. Nínú àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́, àwọn ìṣàmúlò-ètò náà gbá ìgbà tí àwọn ààyè-iṣẹ́ náà bá jẹ́.
Ń lè rí àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́?
Ya, pẹlú ayẹyẹ́: tí M jẹ́ ààyè kejì tí A jẹ́ ààyè kejì tí a mọ́, ààyè kejì ni 2M − A, tí a lò fún àwọn àkóódìnì gbogbó.
Àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́
Kò. Ò tí wọ́n tí àwọn àkóòdù àwọn ààtòjú àwọn ààtòjú, láti jẹ́ pé ìdákọ àwọn ààtò àwọn ààtò meji nínú àwọn àtòjọ-ẹ̀yàn àwọn ààtòjú àwọn ààtòjú.
API — ló àwọn ìṣàmúlò-ètò yìí láti inú ìṣàmúlò-ètò
Fi àwọn ìṣàmúlò-ètò yìí kọ̀ǹpútà yìí láti jẹ́ ààyè-iṣẹ́ JSON tí a tí fi pamọ́ - kò ní bọ́tìnì kan tí a fẹ́. Fi àwọn fálù ààyè-iṣẹ́ sílẹ̀ sí bí àwọn àwọn ìṣàmúlò-ètò àti JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ka àwọn àkọlé API kíkún →
Àwọn Ààyè Ìjánu-ìṣàmúlò-ètò
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);
Results are estimates for general guidance only, not financial, medical or tax advice.