İki Nokta Arasındaki Mesafe Hesaplama
Bir düzlemde iki nokta arasındaki doğrusal mesafeyi bul.
Yazdığınızda sonuçlar güncellenir.
Bu hesaplayıcı hakkında
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.ThisThis is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbor comparisons in data. Any two points on a plane have exactly one straight-line distance between them.This is the everyday tool for map distances, the length of a line segment,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 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. This calculator is a free online calculator that can be used for any purpose.ThisThis 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 is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and near
Sıkça Sorulan Sorular
Uzunluk formülleri nedir?
Bu d = √((x₂ − x₁)² + (y₂ − y₁)²). (0,0) ile (3,4) arasında mesafe √(9 + 16) = √25 = 5'tir.
Bu Pitagora teoremi ile nasıl ilişkili?
Yatay ve dikey boşluklar doğru üçgenin iki ayağını oluşturur ve mesafe hipotenuzdur - bu yüzden mesafe formülünün Pitagora'nın grid üzerinde olduğu söylenir.
Δx ve Δy nedir?
Bunlar, x2 − x1 ve y2 − y1 noktaları arasındaki yatay ve dikey farklılıklardır — uzaklığın arkasındaki doğru üçgenin iki bacakıdır.
Araç orta noktayı gösteriyor mu?
Evet, orta noktayı veren uzaklığın yanında, iki nokta arasındaki koordinat tam olarak yarı yol.
Puan sırası önemli mi?
Farklar karedir, yani iki noktayı değiştirmek aynı mesafeyi verir.
Negatif koordinatları yönetebilir mi?
Evet, negatif ve ondalık dahil her gerçek koordinat işe yarar. Kareleme her mesafeyi pozitif tutar.
API — bu hesaplayıcıyı kodtan kullan
Bu hesaplayıcıya ücretsiz bir JSON son noktası olarak çağrı yap - anahtar gerekmez. Aşağıdaki alan değerlerini sorgu parametreleri veya JSON olarak gönderin. Tüm API belgelerini oku →
Son nokta
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);
Sonuçlar sadece genel rehberlik için tahminlerdir, finansal, tıbbi veya vergi tavsiyesi değil.