შუა წერტილის კალკულატორი
იპოვეთ წერტილი ზუსტად ნახევრად გზაზე ორ კოორდინატს შორის.
შედეგები ახლდება ტექსტის შეყვანისას.
ამ კალკულატორის შესახებ
the midpoint is the point exactly halfway between two coordinates, 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 is symmetric, the order of the points makes no difference, and negative or decimal coordinates work just as well. MidpointsMid
ხშირად დასმული კითხვები
How do you find the midpoint of two points?
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).
Is the midpoint the same as the average?
Yes — the midpoint is just the average of the two points, taken coordinate by coordinate.
What is the midpoint of (0,0) and (4,6)?
ყოველი კოორდინატის საშუალო: ((0 + 4)/ 2, (0 + 6)/ 2) = (2, 3), ნაგულისხმევი მაგალითი, რომელიც ამ ხელსაწყომ აჩვენა.
Does it show the distance between the points?
Yes. Along with the midpoint, the calculator gives the length of the segment joining the two points.
Can I find an endpoint from the midpoint?
Yes, with a rearrangement: if M is the midpoint and A is a known endpoint, the other endpoint is 2M − A, applied to each coordinate.
Is the midpoint affected by which point comes first?
No. You average the coordinates, so entering the two points in either order lands on the same midpoint.
API - გამოიყენეთ ეს კალკულატორი კოდისგან
ამ კალკულატორის გამოძახება როგორც უფასო JSON დასასრული - ღილაკი არ არის საჭირო. ქვემოთ მოცემული ველი პარამეტრების ან JSON- ის სახით გაგზავნეთ. ყველა თქვენ მიერ გამოტოვებული პარამეტრის გამოყენებისას იგივე ნაგულისხმევი პარამეტრები გამოიყენება, რაც ამ გვერდზეა; უცნობი პარამეტრის ნომერი არის 400, არასდროს დუმილის ნულს. API დოკუმენტაციის სრული წაკითხვა →
დასასრული
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.