ຕົວຄິດໄລ່​ໄລຍະ​ທາງ​ລະຫວ່າງ​ຈຸດ​ສອງ​ຈຸດ

ຊອກຫາ​ໄລຍະທາງ​ເສັ້ນ​ກົງ​ລະຫວ່າງ​ສອງ​ຈຸດ​ໃນ​ແຜ່ນ​ດິນ​ໄຫວ

ໄລຍະ​ຫ່າງ —
ປ່ຽນ​ແນວ​ນອນ (Δx) —
ປ່ຽນ​ແນວ​ນອນ (Δy) —
ຈຸດ​ກາງ —

ຜົນ​ການ​ຄົ້ນ​ຫາ​ຈະ​ຖືກ​ອັບເດດ​ເມື່ອ​ທ່ານ​ພິມ​ມັນ​ຂຶ້ນ​ມາ ។

ຕົວຄິດໄລ່ນີ້ໄດ້ໃຫ້ຄໍາຕອບທີ່ຖືກຕ້ອງກັບທ່ານບໍ?

ກ່ຽວ​ກັບ​ເຄື່ອງ​ຄິດໄລ່​ນີ້

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.

ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ

ວິທີການ​ຄິດໄລ່​ໄລຍະ​ທາງ​ແມ່ນ​ຫຍັງ?

ໄລຍະຫ່າງລະຫວ່າງ (0,0) ແລະ (3,4) ແມ່ນ √(9 + 16) = √25 =5.

ມັນ​ກ່ຽວຂ້ອງ​ກັບ​ທັດສະນະ Pythagorean ແນວໃດ?

ພື້ນທີ່ຫວ່າງທາງລຸ່ມ ແລະ ທາງເທິງ ປະກອບເປັນສອງຂາຂອງສາມຫຼ່ຽມມົນ, ແລະ ໄລຍະຫ່າງແມ່ນ hypotenuse ຂອງ - ດັ່ງນັ້ນ ຮູບຮ່າງໄລຍະຫ່າງແມ່ນ Pythagoras ຢູ່ໃນກຣາຟ.

ຫຍັງຄື Δx ແລະ Δy?

ພວກເຂົາແມ່ນຄວາມແຕກຕ່າງດ້ານລຸ່ມແລະດ້ານເທິງລະຫວ່າງຈຸດ, x₂ - x₁ ແລະ y₂ - y₁ - ສອງຂາຂອງສາມຫຼ່ຽມມົນທີ່ຢູ່ເບື້ອງຫຼັງໄລຍະຫ່າງ.

ເຄື່ອງມື​ຈະ​ສະແດງ​ຈຸດ​ກາງ​ໄດ້​ບໍ່?

ຖືກ. ນອກ​ຈາກ​ໄລຍະ​ທາງ​ທີ່​ມັນ​ໃຫ້​ຈຸດ​ກາງ, ໂຄຈອນ​ແມ່ນ​ເຄິ່ງ​ທາງ​ລະຫວ່າງ​ຈຸດ​ສອງ​ຈຸດ​ຢ່າງ​ແນ່ນອນ.

ລະຫັດ​ຂອງ​ຈຸດ​ແມ່ນ​ສຳຄັນ​ບໍ?

ບໍ່. ຄວາມແຕກຕ່າງແມ່ນເປັນກຸນແຈ, ສະນັ້ນການປ່ຽນຈຸດສອງຈຸດຈະໃຫ້ໄລຍະຫ່າງທີ່ເທົ່າກັນ.

ມັນ​ສາມາດ​ຈັດການ​ກັບ​ໂຄທັສ​ລົບ​ໄດ້​ບໍ?

ຍອມຮັບ. ໂຄຈອນ​ທີ່​ຈິງ​ໃດໆ​ກໍ່​ເຮັດວຽກ, ລວມ​ທັງ​ຕົວ​ລົບ ແລະ ຕົວ​ຮ້ອຍ - ການ​ເຮັດ​ໃຫ້​ສີ່​ຫຼ່ຽມ​ມີ​ໄລຍະ​ທາງ​ທັງ​ໝົດ​ເປັນ​ຕົວ​ບວກ.

❤️ ຮັກ Calculator.Free? ແບ່ງປັນ

𝕏  X Facebook Reddit
API — ໃຊ້​ເຄື່ອງ​ຄິດໄລ່​ນີ້​ຈາກ​ໂປຣແກຣມ

ໂທ​ເຄື່ອງ​ຄິດໄລ່​ນີ້​ເປັນ​ຈຸດ​ຈົບ JSON ຟຣີ - ບໍ່​ຕ້ອງການ​ກູ​ໂກ. ສົ່ງ​ຄ່າ​ພື້ນ​ທີ່​ຂ້າງ​ລຸ່ມ​ນີ້​ເປັນ​ປາຣມາ​ຕິກ​ຄໍາ​ຖາມ ຫຼື JSON. ທຸກ​ສິ່ງ​ທີ່​ທ່ານ​ລົບ​ອອກ ຈະ​ໃຊ້​ຕົວ​ອັກສອນ​ທີ່​ໜ້າ​ນີ້​ໄດ້​ຕື່ມ​ໄວ້​ກ່ອນ; ພາຣາມິເຕີ​ທີ່​ບໍ່​ຮູ້​ແມ່ນ 400, ບໍ່​ແມ່ນ​ສະກຸນ​ທີ່​ບໍ່​ມີ​ສຽງ​ເລີຍ. ອ່ານ​ເອກະສານ API ເຕັມ →

ຈຸດ​ສຸດ​ທ້າຍ

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);

ຜົນໄດ້ຮັບແມ່ນຄາດຄະເນສໍາລັບຄໍາແນະນໍາທົ່ວໄປເທົ່ານັ້ນ, ບໍ່ການເງິນ, ຄໍາແນະນໍາທາງການແພດຫຼືພາສີ.