Afstandsformel
Afstandsformel is a mathematical formula used to calculate the distance between two points in a Cartesian coordinate system. It is derived from the Pythagorean theorem. Given two points, P1 with coordinates (x1, y1) and P2 with coordinates (x2, y2), the distance between them, often denoted as 'd', is calculated as follows: d = sqrt((x2 - x1)^2 + (y2 - y1)^2). The formula essentially finds the length of the hypotenuse of a right-angled triangle where the other two sides are the differences in the x-coordinates and the y-coordinates of the two points. This formula is fundamental in geometry, trigonometry, and various fields of science and engineering where spatial relationships are important. It can be extended to three-dimensional space and higher dimensions with a similar pattern.