محاسبه‌گر فاصله بین دو نقطه

فاصلهٔ خط مستقیم بین دو نقطه در یک صفحه را پیدا کنید.

فاصله
تغییر افقی) Δx (
تغییر عمودی) Δy (
نقطه میانی

نتایج در حال تایپ به روز می‌شود.

در مورد این ماشین حساب

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 most popular calculator for map distances, line segment lengths, vector magnitudes, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, vector magnitudes, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, vector magnitudes, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, vector magnitudes, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, vector magnitudes, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, and nearest-neighbor comparisons in data.This calculator is the most popular calculator for map distances, line segment lengths, and nearest-neighbor comparisons

پرسش‌های متداول

فرمول فاصله چيه؟

فاصله بین (۰،۰) و (۳،۴) √(۹ + ۱۶) = √۲۵ = ۵ است.

این قضیه با قضیه فیثاغورث چه ارتباطی دارد؟

فاصله افقی و عمودی دو پا را تشکیل می‌دهد و فاصله هم مثلث راست‌گوش است، بنابراین فرمول فاصله فیثاغورس در شبکه است.

X و Y را به هم وصل کنید.

این دو تفاوت افقی و عمودی بین نقاط x۲ − x۱ و y۲ − y۱ است که دو پای مثلث راست‌گوش پشت فاصله هستند.

ابزار نقطه وسط رو نشون ميده؟

بله، در کنار فاصله، نقطه وسط رو هم نشون ميده، مختصات دقیقا وسط راه بين دو نقطه

آیا ترتیب امتیازات مهم است؟

نه، تفاوت‌ها مربع هستند، پس با عوض کردن دو نقطه فاصله برابر میشه.

مي تونه مختصات منفي رو هم بفهمه؟

بله هر مختصات واقعي کار ميکنه، از جمله منفي و اعشاري - مربعات هر فاصله مثبت ميمونه

❤️ عشق Calculator.Free? به اشتراک بذار

𝕏  X Facebook Reddit
API — از این ماشین حساب از کد استفاده کنید

این محاسبه‌گر را به عنوان نقطه پایانی JSON آزاد فراخوانید — کلید مورد نیاز نیست. مقادیر حوزه زیر را به عنوان پارامترهای پرسش یا JSON ارسال کنید. مستندات کامل 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);

نتایج تخمین‌ها فقط برای راهنمایی عمومی است، نه مشاوره مالی، پزشکی یا مالیاتی.